SortRecordList is an asset that can be used when the System actions ListSort and ListDistinct are too limited. ListSort can only sort on a single attribute, and ListDistinct can only remove exact duplicates. In contrast, the SortRecordList action can sort on multiple attributes, and DistinctRecordList allows specifying the attributes to compare (instead of all attributes like ListSort).
None. The input RecordList is sorted in place.
For examples of its usage refer to the demo app. The demo app (from hereon referred to as "demo") shows a table that's sorted on several attributes:
It is possible to clone (duplicate) a computer by Clicking the Clone button. Using the "Create New Computer" button, you can enter a new computer:
For demonstrating the SortRecordList action, a number of buttons are available:
Clicking one of the buttons will order the table by the specified attribute. The last button orders the table by both the CPU and Memory attributes.
For demonstrating the DistinctRecordList action, there is one button available:
Open the demo module in Service Studio to study the way the actions are used.