SortRecordList

Stable Version 3.0.0 (O11)
Also available for 10, 9.1, 9, 8.9, 8, 7
Published on 20 December 2018 by 
SortRecordList Team
SortRecordList Team
Created on 27 July 2006
What’s new (3.0.0)

Converted to Platform 11, minor change to deprecated exception handling in the SortTest example module.

Details
This extension is a generic record list sorter. It sorts any record list in ascending or descending order by any of its attributes (string, integer, decimal, etc). It can also return a distinct list by comparing any of its attributes.
Read More

This extension is a generic record list sorter. It sorts any record list in ascending or descending order by any of its attributes.


Simply pass the record list and the name of attribute to base the sort and you're done!


Feature List

Action, 'SortRecordList', with three parameters:

  • recordList: the record list to be sorted
  • sortBy: Comma-separated list of the names of the attributes for the list to be sorted by. Eg: "Entity1.attribute1,Entity1.attribute2,Entity2.attribute"
  • isAscending: ascending or descending order

Action, 'DistinctRecordList', with three parameters:

  • recordList: the record list to be compared
  • sortBy: Comma-separated list of the names of the attributes for the list to be compared by. Eg: "Entity1.attribute1,Entity1.attribute2,Entity2.attribute"
  • outputList:  the output distinct record list

Notice: This component takes advantage of private and undocumented Platform APIs, which can change without notice. As a result, this component may unexpectedly break as the Platform is upgraded. We advise proper testing to ensure that your applications continue to work as expected when upgrading/patching the Platform.

Reviews (0)
Category
Tags
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from SortRecordList Team who created this component.
Dependencies
SortRecordList has no dependencies.
Requirements
Platform
11.0.0.200
Database
All
Stack
All
Component Consumers
No consumers yet.
Weekly Downloads 
Related Components
BetterListSort
Aurelio Junior
An improvement over the vanilla "List_SortColumn" widget to make it also work with the Editable Table widget.
52
List Record Sort
Eduardo Jauch
List Record Sort contains the ListRecord_SortColumn widget, used to sort a List Records the same way is done for Table Records with the List_SortColumn. It can be used anywhere in the page (requires the List Records Id) .
51
Multi Sort
Masanori Yamada
Sort table records by multiple columns. (Tested... IE 11, Chrome 56.0.2924.87 ,Firefox 50.0b1)
36
More from SortRecordList Team
Unit Testing Framework
Andrew Burgess
Unit Testing Framework allows you to easily develop and run unit tests for your OutSystems Platform projects. Get the comprehensive user guide from: http://tinyurl.com/utf-manual
1370