sort string in ascending order javascript code example Example: javascript check string sort ascending sort text javascript