# Change the default sorting of a collection
All FoxEcom themes
### Before you start
Make sure you’ve already set up your **collection(s)** in your Shopify admin. [See how](https://help.shopify.com/en/manual/products/collections)
## Enable sorting option
**Enable Sorting** in the Theme Editor to show sorting options on your collection pages. This setting will be applied to the collection template(s) you are editing.
Choose your theme to see the exact setup steps:
* [Pebble theme](https://docs.foxecom.com/pebble-theme/collections-and-products/collection-page/main-collection#filtering-sorting)
* [Hyper theme](https://docs.foxecom.com/hyper-theme/collections-and-products/collection-page/product-grid#filtering-and-sorting)
* [Zest theme](https://docs.foxecom.com/zest-theme/collections-and-products/collection-page/collection-sections/product-grid#filtering-and-sorting)
* [Sleek theme](https://docs.foxecom.com/sleek-theme/collections-and-products/collection-page/product-grid#filtering-and-sorting)
* [Minimog theme](https://docs.foxecom.com/minimog-theme/collections-and-products/collection-page/product-listing#sorting-and-filtering)
* [Megamog theme](https://docs.foxecom.com/megamog-theme/collections-and-products/collection-page/collection-sections/product-listing#sorting-and-filtering)
## Change the Default sorting for any collection
1. Go to **Shopify Admin > Products > Collections**.
2. Click on the collection you want to edit.
3. Scroll to the **Products** section.
4. Find the **Sort** dropdown and choose your preferred option:
* Best selling
* Product title A-Z
* Price low to high
* Newest
* ...and more
5. Click **Save**.

## Change Sorting for the “All products” collection (`/collections/all`)
Shopify automatically creates a **default "All Products" page** at the path `/collections/all`
Shopify only allows **one collection** to use `/all` — make sure no other collection is using that handle.
**How to override `/all` and control sorting?** (if you have not had an All products collection in Shopify admin yet)**:**
1. Go to **Shopify Admin > Products > Collections**.
2. Click **Add collection**.
3. Name it something like **All Products, All, etc**.
4. Click **Add condition -> Price**
* Use a rule: `Product price is greater than $0` to include all products.
5. Scroll to **Search engine listing preview** and click **Edit website SEO**.
6. Change the **URL handle** to `/all`.
7. Scroll back and set the **Sort** order you prefer (e.g., newest, price low to high).
8. Click **Save**.