Sorting allows you to arrange records in a collection in the desired order. You can do multi-level sorting by adding several sorting conditions.
Clear
Button
Clears the sorting modal. Accordingly, the counter is reset.delete
.add sort
allows you to add a new sort to the existing ones.Sort can be in the following states:
✓
during editing. Participates in sorting.✓
button was not pressed. Such a sort has its name colored in gray and in it the method of sorting (for example, Sale. Such a sort is displayed in the list, but does not participate in the sorting of collection records. They can always be opened, configured, and activated. Or deleted through the context menu.The context menu of the sorting line is opened by clicking on the grip icon. Right now there only the delete
option.
You can use more than one sort. For example, first add a sort by brands in alphabetical order, and then a sort by price in descending order. We get products sorted by brands, and within the brand, products are sorted by decreasing price.
You can add as many sorts as you want.
Task: Sort the products by categories, so that within each brand the products are sorted by decreasing price.
Click on the add sort
button
Choose from the available fields the Category field for sorting.
The added sort goes into editing mode. By default, the first available sorting method (Alphabetical (A→Z) is already selected (see Sorting methods ). We leave this option and click ✓
to save.
The sort is saved. Now we need to add a second sort by price. Click on add sort
.
Choose the Price field from the list.
Added a sort by price. Change the sorting method from Ascending
to Descending
and click ✓
.
Done. Sorted products by brands and within brands by decreasing price.
<aside> 🔖 Read more on this topic ——————————— Filter Filtering methods Sorting methods Visibility
</aside>
Getting started
Scheme builder
Collections
View settings
Content editor
Navigation
Media
Team
API