Sort Array
  • 05 Jan 2023
  • 1 Minute to read
  • Dark
    Light

Sort Array

  • Dark
    Light

Article summary

Step Details

Introduced in Version4.0.0
Last Modified in Version5.12.0
LocationData > 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

PropertyDescriptionData Type
InputThe desired list to sortList of [Data Type]

Sort Parameters

PropertyDescriptionData Type
TypeDefines the data type of the list---
FieldDefines what field to sort the list by---
OrderDefines how the array list is sorted---

Outputs

PropertyDescriptionData Type
Sorted ArrayList of array items sorted by the defined orderList of [Data Type]

Example Inputs and Outputs

InputOutput
43,22,66,77,33,22,43,66,77
Null Null
Empty Null




Was this article helpful?