Equal sort keys need another column for exact order.
highlighted = computed this step
Ties need a tie breaker
Sorting only by score leaves rows with equal scores tied.
equal keys tie
Show tied groups
The compiler finds 2 tie groups, so unstableTies is yes.
tie groups=2
Ordering examples are tiny finite table transforms; SQL dialects, NULL ordering, collations, indexes, optimizer behavior, performance, and product behavior are out of scope.
Honest tie order
The renderer uses input row index only to make this tiny diagram deterministic; the lesson flags the tie.
diagram order is guarded
Summary
Add a tie-breaker column when the exact row order matters.