> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uselayers.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sort order recipes

> Pre-configured Layers sort order recipes for common merchandising patterns — best selling, newest, price sorting, and stock-aware ordering — ready to copy.

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.

## 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

* [Sort Orders Overview](/platform/sorting)
* [Create a sort order](/help/sort-orders/create-sort-order)
* [Metrics](/platform/metrics)
