The Stock screen has a filter that answers three different questions: how much you have, what's about to expire, and what has the cost priced wrong.
Open Stock and tap the filter icon. On the Filters screen, the first item is Filter mode.
The filter mode has three options and you use one at a time. You can't search for "out of stock" and "expired" in the same query — they're different questions.
Filters by quantity. Tick what you want to see:
Only meaningful for products with lot control:
The mode that saves the most money:
Category — narrows to one category, or choose No category to find products without one.
Variations — filters by variation name (S, M, L, a colour). Once you pick variations, the Only variations with stock switch appears.
Order by (on the phone) — Smaller stock, Bigger stock, A-Z or Z-A. Starting from Smaller stock is the quick way to build your purchase list.
Tap Apply to see the result. The filter stays on until you change it.
To go back to normal, open Filters and tap Clear at the top.
If you just want a quick look, you don't need to build a filter: the Alerts panel at the top of Stock already lists the problems and applies the right filter in one tap.