Strsort()
Description
FUNCTION: strsort(<string>)
Sorts the individual grapheme clusters within a string. Unlike sort(), which operates on list words, strsort() operates on individual grapheme clusters (perceived characters).
Examples
> say strsort(dcba)
You say, “abcd”
> say strsort(hello)
You say, “ehllo”