How To Sort A String In Javascript