Sort Array
- 05 Jan 2023
- 1 Minute to read
- Print
- DarkLight
Sort Array
- Updated on 05 Jan 2023
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Step Details | |
Introduced in Version | 4.0.0 |
Last Modified in Version | 5.12.0 |
Location | Data > List |
The Sort Array step takes in a list of a composite type and returns that same list, sorted by a field, either in ascending or descending order. This sorting can either be a String sort if the field is a string, a numerical sort if the field is a number, or a Date sort if the field is a Date.
Properties
Inputs
Property | Description | Data Type |
---|---|---|
Input | The desired list to sort | List of [Data Type] |
Sort Parameters
Property | Description | Data Type |
---|---|---|
Type | Defines the data type of the list | --- |
Field | Defines what field to sort the list by | --- |
Order | Defines how the array list is sorted | --- |
Outputs
Property | Description | Data Type |
---|---|---|
Sorted Array | List of array items sorted by the defined order | List of [Data Type] |
Example Inputs and Outputs
Input | Output |
---|---|
43,22,66,77,3 | 3,22,43,66,77 |
Null | Null |
Empty | Null |
Was this article helpful?