Skip to content

The "Sort List" Node ​

Sorts a list alphabetically and numerically. This is accent-insensitive and case-insensitive and sorts numbers in texts by their mathematical value.

For example ["Éléphant", "apple", "Andrew", "fuchsia", "elephant"] is sorted to ["Andrew", "apple", "Éléphant", "elephant", "fuchsia"]

["file1", "file21", "file3"] is sorted to ["file1", "file3", "file21"]

[32, "13", "42", "1"] is sorted to ["1", "13", 32, "42"]

Sort List

  • Sorted
  • Direction
  • List

Inputs ​

  • Direction − What direction to sort in.
    • Ascending "A" before "Z", "0" before "9"
    • Descending "Z" before "A", "9" before "0"
  • List − The list to sort.

Outputs ​

  • Sorted − A sorted copy of the list.