# Change the default sorting of a collection ## ๐Ÿ›  Before you begin... Make sure youโ€™ve already set up your **collection(s)** in your Shopify admin. Not sure how? ๐Ÿ‘‰ [**Watch our step-by-step tutorial**](https://youtu.be/M0DoTpdYPWU) ๐ŸŽฅ ## ๐Ÿ”„ Change the Default sorting for any collection This sets the **default sorting** โ€” customers can still change the sort order on the store page if you enable the corresponding setting. ![](https://docs-assets.foxecom.app/pebble-theme/image_ASGDnFD1.png) Steps: 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** โœ… ![image](https://docs-assets.foxecom.app/pebble-theme/image_drtzdA5I.png) ## ๐Ÿ”„ Change Sorting for the **โ€œAll productsโ€ collection** (`/collections/all`) Shopify automatically creates a **default "All Products" page** at the path `/collections/all` **โœ๏ธ How to override `/all` and control sorting** (if you have not had an All products collection in Shopify admin yet)**:** Steps: 1. Go to **Shopify Admin > Products > Collections**. 2. Click **Create collection**. 3. Name it something like **All Products, All, etc**. 4. Under **Collection type**, choose **Automated**. * Use a rule like: `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. Hit **Save** ๐Ÿงก ![image](https://docs-assets.foxecom.app/pebble-theme/image_qqew6TaM.png) Shopify only allows **one collection** to use `/all` โ€” make sure no other collection is using that handle.