Each product shows a thin bar of its batches in the order they are sold, and a note when it matters:
15 expired ›: tap the arrow to take the expired batch out of stock.
6 left of batch B12: the batch being sold is about to finish.
15 expire in 9 days: how many are close to expiry, in either order. "· selling now" means that batch is the one being sold. The number goes down as they are sold.