Sort array
Last updated
Last updated
The Sort array node is used to sort array in either ascending or descending order.
Field | Description | Required |
---|---|---|
Key to sort by : This field is required if array to sort have dict/object values. e.g.
If you want to sort this list based of age then you can specify Key to sort by
as age
This node does not return any values but create a new variables with result . You can access it using magical autocomplete using $.variables.<Variable name>
Node name
true
Variable name
Variable name to store result
true
Array to sort
Values to sort
true
Key to sort by
Key to sort array by
false
Sort order
Ascending or Descending
false