The display order is deterministic so the visual stays checkable.
deterministic display
Read source rows
All 6 source rows are accounted for, and group order is first-seen input order.
all rows accounted
Aggregate NULL examples are tiny finite table transforms; SQL dialect completeness, optimizer behavior, indexing, product behavior, and performance claims are out of scope.
Order is model display
First-seen group order is a finite display convention here, not a product output-order claim.
display convention
Summary
The buckets list source row indexes, so no row disappears silently.