Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Sort the characters in a string
ResourceFunction["StringSort"]["string"] sorts the characters in "string" into canonical order. |
Sort characters in a string:
In[1]:= | ![]() |
Out[1]= | ![]() |
Sort fifty random characters:
In[2]:= | ![]() |
Out[2]= | ![]() |
In[3]:= | ![]() |
Out[3]= | ![]() |
Sort a mathematical string:
In[4]:= | ![]() |
Out[4]= | ![]() |
Sort the first characters from different character sets:
In[5]:= | ![]() |
Out[5]= | ![]() |
Sort all the characters in Hamlet:
In[6]:= | ![]() |
Out[6]= | ![]() |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License