Skip to main content

What is sorting in Layers?

Sort orders control the sequence in which products appear on your collection pages. A sort order can combine multiple signals: product attributes, priority rules, weighted attribute groups, and soft boost.

How sorting fits into the platform

Sort orders build upon your attribute configuration. Only attributes marked as sortable can be used in sort orders. Sort orders can use sequences to keep related products together, and are subject to merchandising rule overrides:

Key sorting capabilities

Priority rules are hard overrides that force products to the top or bottom of results based on conditions you define. Promoted products appear at the top and demoted products appear at the bottom. Priority rules are always evaluated first. Weighted attribute groups let you combine multiple sortable attributes and metrics into a single blended score, with relative weights and per-attribute direction (higher or lower is better). For example, you could sort by 60% sales performance and 40% freshness to balance proven sellers with new arrivals. Weighted groups can be combined with soft boost to layer modifiers on top of the blend. Soft boost adjusts product positions without creating hard clusters. Unlike priority rules, soft boost interleaves boosted products within the existing sort order. Segmented sorting changes product rankings based on visitor context like geographic location or marketing channel, so different audiences see different sort behavior.

Next steps