Very useful function!
crosslinking to --> German feature suggestion thread $sort(x,sep)
because - despite research - I couldn't find this thread here before posting the same idea.
Differences:
- I named the function $sort instead of $stringsort for bevity.
- I named the 3rd param (i.e. sortdirection) a-z and z-a instead of 0/1 for better human readability and user friendliness.
- With $sortz or $zsort I suggested a possible alternative for inverse sorting in order to keep $sort a 2 param function.