sort by number string js code example Example: javascript check string sort ascending sort text javascript