Difference between revisions of "Extensions.Util.ListSort"
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie2| List | [[Core.DataTypes.ComplexDataType.List|List]] | [[Term]] | - | [1..1] | The List from which the | + | {{TableRowPropertie2| List | [[Core.DataTypes.ComplexDataType.List|List]] | [[Term]] | - | [1..1] | The List from which the sorted list shall be created.}} |
|} | |} | ||
Revision as of 09:34, 30 October 2019
Contents
Classification
Name | ListSort |
Short Description | Creates a sorted list of the given list |
Class | Term |
Extension | OTX Util extension |
Group | Util related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
ListTerm Util.ListSort(ListTerm list);
Description
The OTX ListSort term is a ListTerm that returns a copy of the given list in ascending order.
Return Value
The Term returns the value, see table below.
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
List | The sorted list of the given list. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
List | List | Term | - | [1..1] | The List from which the sorted list shall be created. |
OTL Examples
/// Local Declarations
List<Integer> List1;
/// Flow
List1 = Util.ListSort({9, 3, 2, 0, 10, 4, 6, 8, 5, 7});
See also
Compare
CopyByteField
GetRandomNumber
IsInitialized
ListIndexOf
ListIndexOfAny
ListReverse
Max
Min
StringFormat