Not natively. None of Shopify's collection sort orders consider stock status, so a sold-out product keeps whatever position its title, price, sales rank, or manual placement gives it — even if that's the very first tile in the collection. To get in-stock products first automatically, you need either constant manual reordering or an app that watches inventory and rearranges the collection for you.
This post covers what Shopify does offer, the levers people mistake for stock-based sorting, and how automated in-stock-first sorting actually works.
What sort orders does Shopify offer natively?
Eight, and every one of them ignores inventory. On any collection you can choose:
- Best selling — by sales rank. A sold-out best seller stays on top; it was selling great right up until it couldn't.
- Product title A–Z / Z–A — alphabetical, stock-blind.
- Highest / Lowest price — by price, stock-blind.
- Newest / Oldest — by created date, stock-blind.
- Manually — the order is whatever you drag it to be. This is the only order that can put in-stock products first — as long as a human (or an app) keeps arranging it.
- Most relevant — the newest addition to Shopify's sort orders (2026). Relevance-based, still not stock-based.
There's no "In stock first" option in that list, and no setting elsewhere in the admin that adds one. Our sort orders explainer covers each in depth.
What about the features that sound like they'd do this?
Three Shopify features get mistaken for stock-based sorting, and none of them is:
- Smart collection conditions. Conditions (including inventory stock) decide which products are in the collection — they can exclude sold-out products entirely, but they can't demote them. Membership, not order.
- Shopify Search & Discovery. It customizes storefront search results and can add an "Availability" filter to collection pages. Filters let shoppers narrow to in-stock items if they think to — but the default collection order everyone lands on is unchanged.
- Shopify Flow. Flow can tag a product when it sells out, and smart collections can exclude that tag — the classic tag-and-exclude workaround. That's hiding, not sorting, and it only works on smart collections. We break down that workaround here.
How do apps sort collections by stock status when Shopify can't?
Through the Admin API, using the one sort order that permits a custom arrangement: Manual. A push-down app like Sink — Push Down Out of Stock (that's us — a Shopify app by Xeon Apps) does three things:
- Switches the collection to Manual sort, saving your original sort order so it can be restored if you ever turn push-down off.
- Computes the order you actually want: in-stock products arranged by your chosen rule — Best selling, Title, Price, Newest, Oldest, your own manual order, or Most relevant — with sold-out products below them.
- Keeps it current: Shopify's product and collection webhooks fire on inventory changes, and the collection is re-sorted within a couple of minutes. Sellouts sink; restocks climb back to their rightful place.
Because the app changes the collection's real order in Shopify — not the page rendering — it works with every theme, needs no code, and the same order shows up everywhere the collection is displayed.
The bottom line
Shopify can't sort collections by stock status on its own — by design, sort orders and inventory are separate systems. If sellouts are rare, the Manual sort order and a few drags a week are honestly fine. If inventory moves daily, automation is the only order that stays true: in-stock first, sold out last, restocks back on top without anyone touching the admin.
Get in-stock-first sorting in minutes.
Sink keeps every managed collection sorted your way, with sold-out products at the bottom. 5.0★ · Built for Shopify · free plan available.
Install Sink on Shopify
By the Sink team · Published July 2026 · Updated July 21, 2026 · 6 min read