Tag Link | [List->Sort] | Category | Array |
---|---|---|---|
Type | Member | Source Available | No |
Support | Preferred | Version | 8.0 |
Change | Unchanged | Data Source | Any |
Output Type | None | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0 |
[List->Sort] sorts a list in ascending alphanumeric order. If an optional parameter True is specified then the list is sorted in descending alphanumeric order. The list is modified in place and no results are returned.
Note: Only string, integer, or decimal values should be sorted. If a list contains arrays or maps then the results of sorting the list are undetermined. Pairs will be sorted by their first element (which should be either a string, integer, or decimal value).
[List->Sort]
[List->(Sort: True)]
Required Parameters | |
---|---|
Boolean | If set to True then the list is sorted in reverse order. |
See the Lasso 8 Language Guide for examples of how to use this tag.