Shopify Collection Sorting: The Complete Guide for 2026
The order your products appear in a Shopify collection decides what most shoppers actually see, and what they buy. Most merchants leave the default sort untouched and never notice that order is quietly costing them sales.
This guide covers what Shopify gives you out of the box, where it falls short, and how to take control of your product order.
Shopify’s default sorting options
When you create a collection in Shopify, you can choose from a few sort orders.
Manual sorting
Manual sorting lets you drag and drop products into the order you want. You get complete control, but it needs constant upkeep.
It’s best for small collections (under 30 products) that rarely change. The catch: new products land at the bottom of the list, and an out-of-stock product stays exactly where you put it, so unavailable items end up cluttering the top of the collection.
Automatic sorting
Shopify offers these automatic sort options:
- Best selling: by total sales volume
- Alphabetically, A–Z / Z–A: by product title
- Price, high to low / low to high: by price
- Date, new to old / old to new: by creation date
They cover the basics, but they all share the same blind spot.
The big gap: no sorting by stock status
Shopify can’t sort a collection by whether products are in stock.
So if you sort by “Best selling” and your top seller runs out, it stays at the top of the collection. Your best-converting spot is now taken by a product nobody can buy.
Manual sorting has the same problem. That carefully arranged order doesn’t react when inventory changes.
This matters more than most merchants think:
- Out-of-stock rates for online stores average around 8%, and climb higher during sales and promotions
- About 30% of shoppers will leave to look elsewhere when a product is shown as out of stock (Baymard Institute)
- For many stores, collection pages are a major entry point for organic search traffic to product pages
Workarounds that fall short
”In stock only” collections
Some merchants build automated collections with inventory conditions so only in-stock products show. The problems:
- Products vanish from the collection the moment they’re out of stock
- That breaks internal links and hurts SEO
- Customers can’t find products you normally carry
- When items come back, they reappear in an unpredictable spot
Sorting with Liquid code
Advanced merchants sometimes edit their theme’s Liquid to sort by inventory. This approach:
- Requires developer knowledge
- Can slow down page loads, since sorting happens at render time
- Breaks when you update your theme
- Doesn’t work with Shopify’s native collection sorting at the API level
- Only changes the storefront display, not the actual collection order
Manual re-sorting
Some store owners log into the admin every day and move out-of-stock products to the bottom by hand. It’s slow, easy to forget, and impossible to scale, and it falls apart completely if stock changes several times a day.
The automated fix
Pushy closes this gap. It automatically pushes out-of-stock products to the bottom of your collections, and it sidesteps the problems with the workarounds above.
How Pushy works
- It watches for stock changes across your whole catalog.
- When a product sells out, Pushy moves it to the bottom of the collection.
- When the product is back in stock, Pushy moves it back to its original position (or the top of the collection).
Why it beats the workarounds
Pushy changes the real sort order through Shopify’s API, not just the storefront display, so it works with any theme and needs no code changes. Products stay in the collection, which keeps their URLs and internal links intact. And because it reacts to stock changes on its own, there’s no daily maintenance.
Best practices for collection sorting
Whichever approach you choose, a few things help.
1. Lead with your best in-stock products
Your first 4–8 products get the most attention. Make sure they’re in stock and show your strongest offerings.
2. Keep out-of-stock products visible (but not prominent)
Don’t remove out-of-stock products. Keep them on the page, near the bottom, so customers know you carry them and search engines can still index them.
3. Automate what you can
Manual processes don’t scale. If your store has more than 50 products, automating stock-based sorting will save you hours every week.
4. Monitor collection performance
Watch how your collection pages do on click-through rate and conversion. A collection that leads with in-stock products will reliably beat one littered with unavailable items.
Frequently Asked Questions
Can Shopify sort a collection by stock status?
Not natively. Shopify's sort options (Best Selling, Alphabetical, Price, Date, and Manual) all ignore whether a product is in stock. To put in-stock products first you need custom Liquid code or an app like Pushy.
Why does my "Best Selling" sort show sold-out products at the top?
Because Best Selling ranks by total sales volume and ignores current inventory. A popular product that sells out keeps its top position until it's restocked, so your highest-converting spot sits there filled with something nobody can buy.
What is the best sort order for a Shopify collection?
There's no single best order, but the rule that matters most is to lead with in-stock products. Pick the sort that suits the collection (best selling, newest, price) and layer automatic out-of-stock push-down on top so unavailable items never sit at the top.
Can I sort products by inventory without an app?
Only with fragile workarounds. Liquid code is display-only, breaks across pagination and theme updates, and doesn't change the real collection order; manual re-sorting doesn't scale. An app that sorts at the API level is the only reliable option.
Does re-sorting a collection affect SEO?
Re-sorting itself is SEO-safe. You're changing the order, not removing products. The SEO risk comes from hiding or deleting out-of-stock products. Keeping them on the page (just lower down) preserves URLs and internal links. More on out-of-stock SEO.
Get started with automated sorting
Stop managing your collection order by hand. Install Pushy and let your collections sort themselves from real-time inventory data.