StructSort(Base [, PathToSubElement, SortOrder, SortType])
StructSort was added in ColdFusion 4.5.1, SP2. StructSort returns an array of structures containing top-level key names (strings) sorted according to the value of the specified sub-element. The value of the keys may be simple values or complex elements.
A ColdFusion struct with one field (an associative array).
Specifies the path to apply to each of the top-level keys in order to reach the element whose value you wish to sort by. If unspecified, PathToSubElement, defaults to nothing: meaning that the top-level entries will be sorted based on their own values.
SortOrder may be "ASC" (ascending) or "DESC" (descending). The default is "ASC."
SortType may be "NUMERIC", "TEXT", or "TEXTNOCASE". The default is "TEXT."
The PathToSubElement string does not support array notation so only substructures of structures are supported.