Missing amounts do not behave like zero; this engine places NULL after known amounts when sorting.
highlighted = computed this step
Input table
Start with orders where one amount is NULL.
Orders with a missing amount
Order query
Sort by amount ascending using the engine's NULL-last rule.
ORDER BY amount ASC, NULL last
Ordered output
Known amounts appear from low to high, and the missing amount stays last.
known amounts then NULL