SORT
![]() |
Re-orders the elements of an array separated by a default pipe delimiter (|) in alphabetical, numerical, ascending, or descending order. |
Supported Script Types
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Generic | Chat | Phone | Voicemail | Work Item |
Properties
- String
- This property is a string containing multiple fields separated by a delimiter.
- Delimiter
- This property is a character that separates each field in a string.
- ResultVar
- This property is a name of a variable to receive the newly sorted string list.
- Column
- This property is a character index in each element to sort on. The first character is 1.
- Order
- This property determines the sort order whether it is an ascending or descending sort. Ascending sorts the list from A to Z or 0 to 9.
- CompareAs
- This property is a drop-down list to select either text or numbers.
Branches
- Default
- The Default branch condition will always be used.
Tips and Tricks
- When sorting text in a multi-dimensional array, any column position can be used as the first character in the sort criteria.