Sort array
The Sort array node is used to sort array in either ascending or descending order.
Properties Panel
General
Field
Description
Required
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
Conditional fields
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
Returns
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>
Last updated