What is sorting in Layers?
Sort orders control the sequence in which products appear on your collection pages. Rather than relying on a single ranking criterion, Layers lets you combine multiple signals — product attributes, priority rules, weighted attribute groups, and soft boost — to create sophisticated sorting strategies that align with your merchandising goals.How sorting fits into the platform
Sort orders build upon your attribute configuration. Only attributes marked as sortable can be used in sort orders. Sorting can be enhanced with sequences to keep related products together, and is 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 with relative weights. For example, you could sort by 60% sales performance and 40% freshness to balance proven sellers with new arrivals. Soft boost gently adjusts product positions without creating hard clusters. Unlike priority rules, soft boost interleaves boosted products naturally within the existing sort order for a more organic feel. Segmented sorting lets you personalize product rankings based on visitor context like geographic location or marketing channel, automatically adapting sort behavior for different audiences.Next steps
- Sort orders — Full guide to creating and managing sort orders
- Priority rules — Hard overrides for product positioning
- Soft boost — Gentle, natural ranking adjustments
- Segmented sorting — Context-aware personalized sorting
- Sort order recipes — Pre-configured sort orders to get started
- Preview & annotations — Testing sort orders before publishing
- Create a sort order — Step-by-step guide