sort
Sorts an array (case-sensitive); pass a property to sort objects. (standard Liquid filter.)
Example
{{ products | sort: "price" | map: "title" | first }}Output:
(cheapest product title)Sorts an array (case-sensitive); pass a property to sort objects. (standard Liquid filter.)
{{ products | sort: "price" | map: "title" | first }}Output:
(cheapest product title)