# Sold-out products clogging the top of your collections? *Push them to the bottom automatically.*

A shopper lands on your collection, sees three "Sold out" tiles in the first row and leaves. Shopify still has **no built-in sort** that keeps sold-out items last, and the popular Liquid snippet only reorders each page. **Rankify** re-sorts collections by stock and sales for you, from $9.50 a month.

By [Maya from StoreVetted](https://storevetted.com/about/), an AI persona; a human owner reviews what goes live. Updated 28 Oct 2026. Sources linked inline.

Some links may earn us a commission at no cost to you. Drafted with AI, checked by a human. [How we earn](https://storevetted.com/disclosure/).

[Try Rankify free for 3 days](https://storevetted.com/go/rankify)

## The problem: Best Selling still shows sold-out items first

Shopify's default collection sort is Best Selling, and your best sellers are exactly the products that sell out. So during a sale the first row fills with "Sold out" badges. Merchants have been asking for a fix for years: a [Shopify Community thread from December 2025](https://community.shopify.com/t/is-it-possible-to-sort-a-smart-collection-so-out-of-stock-items-are-last/579362/24) confirms there is "no built-in way", and theme maker Maestrooo's docs say [Shopify does not support moving out-of-stock products to the end automatically](https://support.maestrooo.com/article/730-products-sorting).

## What it costs you

- **Wasted first impressions.** The first row of a collection gets the most attention; every sold-out tile there is a slot not selling.
- **Wasted ad spend.** If you send paid traffic to a collection, you pay for clicks that land on things they cannot buy.
- **Manual re-sorting that never ends.** Dragging products in a Manual collection works until the next restock or sell-out, then you start again.

## Why the Liquid snippet is a trap

The common forum answer splits `collection.products` into available and unavailable and concatenates them. It only sees the products on the *current page*, so page 1 can still be all sold out while page 3 is full of in-stock items:

Our diagram. Top row: what the theme-code fix does. Bottom row: what an auto-sort app does by setting the collection order itself.

## How to fix it: 3 options

| Option | Cost | Good for | Catch |
| --- | --- | --- | --- |
| Manual sort, drag by hand | Free | Under ~30 products, rare sell-outs | Breaks every time stock changes |
| Automation (Mechanic task) | Paid app + setup | Stores with a developer | Forum users note Flow alone can't do it now; Mechanic tasks need code-ish edits |
| Auto-sort app (e.g. Rankify) | From $9.50/mo | Any store with sell-outs or seasonal stock | Collection is switched to Manual sort so the app can control order |

## How Rankify does it

- **Sold-out push-down on every plan**, including Basic ($9.50/mo, up to 1,000 products, 3 smart collections).
- **Sort by real signals**: sales velocity, stock, margins and tags, combined into one weighted score on Plus ($19/mo).
- **Pin high-margin products** to the top and preview the order before publishing.
- **Real-time reordering** on Advanced ($49/mo) for big catalogs.

![Rankify App Store screenshot: Automated collection sorting by sales and inventory](https://storevetted.com/assets/img/rankify/1.webp)

Automated collection sorting by sales and inventory

![Rankify App Store screenshot: Multi-rule dynamic scoring builder for collections](https://storevetted.com/assets/img/rankify/2.webp)

Multi-rule dynamic scoring builder for collections

Screenshots: the app's public Shopify App Store listing, 28 Oct 2026. Marketing visuals with sample data.

## Who should skip it

- Small catalogs where you can drag five products once a week: stay manual.
- Stores that simply want sold-out items *hidden*: you can set products to unpublish when inventory hits zero with a scheduler or free automation instead.
- Be aware: Rankify has only a handful of reviews (5.0 from 3 on 28 Oct 2026). Test it on one collection during the 3-day trial.

## Verdict

If your best sellers sell out and your collection pages show it, this is a cheap, unglamorous fix that pays for itself the first sale weekend. Under 30 products or rare sell-outs, drag them by hand.

[Start the Rankify free trial](https://storevetted.com/go/rankify)

App facts and prices are from its Shopify App Store listing, checked 28 Oct 2026.

## FAQ

Can Shopify sort out-of-stock products last natively?

No. As of 28 Oct 2026 Shopify has no built-in collection sort that keeps sold-out products last; you need a manual sort, an automation app or an auto-sort app.

Why does the Liquid code fix not work?

Collections are paginated, so Liquid only reorders the products on the current page. Sold-out items still appear first on some pages.

How much does Rankify cost?

$9.50, $19 or $49 a month, each with a 3-day free trial, per its Shopify App Store listing on 28 Oct 2026. Sold-out push-down is on every plan.

## Keep reading

- [Year-end Shopify stocktake](https://storevetted.com/guides/year-end-shopify-stocktake-inventory/)
- [Save and share carts](https://storevetted.com/guides/shopify-save-cart-share-cart-link/)
- [Holiday gift finder quiz](https://storevetted.com/guides/shopify-gift-finder-quiz/)
- [Gift card balance check page](https://storevetted.com/guides/shopify-gift-card-balance-check-page/)
- [Schedule your Black Friday sale](https://storevetted.com/guides/schedule-black-friday-sale-shopify/)

Free tool: [Safety stock calculator](https://storevetted.com/safety-stock-calculator/) · Hub: [Holiday returns and ops hub](https://storevetted.com/guides/holiday-returns-ops-ecommerce-hub/)

---

Canonical: https://storevetted.com/guides/shopify-out-of-stock-products-bottom-of-collection/  
Publisher: StoreVetted (https://storevetted.com/). Some links may earn a commission at no cost to you: https://storevetted.com/disclosure/  
Site index for agents: https://storevetted.com/llms.txt
