TextDSort function
Sort lists and tables as text
Description
The TextDSort function sorts the elements of a list as text in descending order. Sorting as text means on the one hand that elements may also contain text and on the other hand that the order corresponds to the ASSCII character set (numbers in front of letters, large letters in front of the small ones).
Tables
In the case of a table, the number of a column can be optionally specified according to which the rows are sorted. If no column is specified, the values are sorted line by line.
Syntax
TextDSort (list)
TextDSort (table, column)
Examples
a = [3, 2, 6, 22, 1, “Hi“, 38]
TextDSort (a) = Hi 6 38 3 22 2 1