sort_natural
Sorts an array case-insensitively; by a property when given.
Syntax
Section titled “Syntax”array | sort_natural: propertyReturns
Section titled “Returns”array
Example
Section titled “Example”{{ 'b,C,a' | split: ',' | sort_natural | join: '' }}abCRelated
Section titled “Related”Compatibility
Section titled “Compatibility”Shopify: Same as Shopify.
Since theme platform 1.0.
Was this page helpful?

