sort

Sorts items in an array by a property of an item in the array. The order of the sorted array is case-sensitive

Input
  • foo_array = [ "orange", "apple", "banana" ]
    {{ foo_array | sort }}
Output
  • [ 'apple', 'banana', 'orange' ]