Skip to main content
The platform provides pre-configured sort orders that implement common merchandising patterns. These can be used as-is or customized for your specific needs.

Best selling

Description: Sort by sales performance using 7-day revenue data. Products with highest revenue appear first. Dependencies: Automatically creates “Total Sales (7d)” metric if not present. Sorting logic:
  • Primary: Metrics (Total Sales 7d) - Descending
  • Products with highest 7-day sales rank first
Use case: Default sort for collection pages to showcase top performers. Drive sales by highlighting proven winners.

Newest

Description: Sort by product creation date. Most recently published products appear first. Sorting logic:
  • Primary: Published At - Descending
  • Most recently published products rank first
Use case: “New Arrivals” collections or highlighting latest inventory additions. Keep collection pages fresh with newest items. Description: Sort by recent sales momentum. Units sold over the last 28 days count toward the score, but each sale loses half its weight every 7 days. Yesterday’s units matter far more than units from three weeks ago. published_at breaks ties, so newer products edge out older ones with the same trending score. Dependencies: Automatically creates the Trending units (7-day half-life, 28 days) metric if not present. Sorting logic:
  • Primary: Trending units (28d, 7-day half-life) — Descending
  • Tiebreaker: Published At — Descending
Use case: Collection pages where you want fast-moving products to surface immediately. It beats a flat 7-day window for stores with enough tail that a 7-day cutoff hides recovering products. It also beats a 30-day window when a two-week-old sale is no longer a signal that a product is currently in demand.
The Trending recipe is not seeded on day zero. Layers offers it once your store has enough recent purchase history for the sort window backtest to confirm that a short-horizon window predicts next week’s sales for your catalog. Until then, use Best selling with a longer window.

Price: high to low

Description: Sort by price in descending order. Most expensive products appear first. Sorting logic:
  • Primary: Variant Price - Descending
  • Highest priced products rank first
Use case: Luxury or premium product collections. Allow customers to browse from highest to lowest price points.

Price: low to high

Description: Sort by price in ascending order. Least expensive products appear first. Sorting logic:
  • Primary: Variant Price - Ascending
  • Lowest priced products rank first
Use case: Budget-conscious collections or value-oriented merchandising. Help customers find affordable options first.

See also