This XFCN sorts the contents of a container by lines
The syntax for the sort command is:
result = sort( source [, type] )
The source is any container that you want to sort.
The result is a container holding the sorted data.
The ‘type’ is an optional string whose first character specifies the kind of sort; “n” for numeric, all others (including leaving off the ‘type’ parameter) specify an alphabetic sort. The sort is performed by lines, taking into account the entire  contents of each line. Beware that empty lines will be sorted to the top of a list, so you may want to delete them before or after sorting. For a numeric sort, an attempt is made to convert the line to a number; the default is 0.