SortOrder methods syntax
The syntax for each of the SortOrder class methods is shown below.
Square brackets indicate optional elements of the method invocation. See also the notation conventions for methods and the List of SortOrder methods.
%sortOrder = [%(SortOrder For itemType)]:Ascending( itemFunction)
%sortOrder = [%(SortOrder For itemType)]:Descending( itemFunction)
%sortOrder = [%(SortOrder For itemType)]:List( sortOrderItems)
%sortOrder = [%(SortOrder For itemType)]:New