Byte Digital Themes

Sort

Sort dropdown options + how to set a default sort.

Updated 2026-05-09

The sort dropdown is rendered in the listing block toolbar. Options:

  • Featured (manual)
  • Best selling
  • Newest
  • Price: low to high
  • Price: high to low

These are Shopify-defined sort keys and can't be customised.

Default sort order

Block setting → Default sort order. When the customer arrives at a collection URL without ?sort_by=, the page redirects to add ?sort_by={default} so the products appear sorted as you intended.

The redirect happens via a tiny inline script:

  • Production: redirects only when sort_by is missing
  • Theme editor: redirects when sort_by doesn't match the configured default (so changes take effect immediately on save)

Persistent sort

After a customer picks a sort, that selection lives in the URL — sharing the URL preserves the sort. Returning to the bare collection URL re-applies the default.

Tips

  • Set default to Best selling for catalogs (shows what's popular first).
  • Set to Newest for editorial / drop-driven brands.
  • "Featured" preserves the manual order from Shopify admin — use this only if you carefully curate collection ordering.
Need a hand? Contact support.