Sort the letters of string in alphabetical order: Difference between revisions

Content added Content deleted
Line 304: Line 304:
Unsorted -> forever julia programming language
Unsorted -> forever julia programming language
Sorted -> aaaaeeefggggiijllmmnnooprrrruuv
Sorted -> aaaaeeefggggiijllmmnnooprrrruuv
Unsorted -> Now is the time for all good men to come to the aid of their country.Sorted -> .aaccddeeeeeeffghhhiiiillmmmNnnooooooooorrrstttttttuwy
Unsorted -> Now is the time for all good men to come to the aid of their country.
Sorted -> .aaccddeeeeeeffghhhiiiillmmmNnnooooooooorrrstttttttuwy
</pre>
</pre>