SORT_NATURAL

Sorts elements in an array by a property of an element in the array (case-insensitive).

Syntax 

SORT_NATURAL(array, sort_key)

Examples 

Example 1

Input

{
  "my_action": {
    "message": [
      "north",
      "South",
      "east",
      "west"
    ]
  }
}

Formula

SORT_NATURAL(my_action.message)

Output

["east","north","South","west"]