sorted
-
operator
-
new in 1.47
-
The
sortedoperator sorts the contents of a value, yielding the sorted value which can be stored into a container or used as part of a larger expression. -
Examples: +
put "time heals all wounds" sorted descending as words —> wounds time heals all -
Related: sort, shuffled, reversed