Appearance
Sort Mutation ​
The Sort mutation allows you to sort elements in a list in either ascending or descending order. This can be useful for rearranging product attributes, sizes, or any other list-based data.
Options ​
- Order: Choose between 'Ascending' and 'Descending' to sort the list.
To order a list of objects by an attribute or by a priority order, use Sort objects.
Example ​
The value is the list of tags summer, blue, cotton. Sort with the order Ascending gives blue, cotton, summer.