Within each partition, ORDER BY chooses the visible sequence.
partition then order
Use a tie-breaker
With the explicit tie-breaker, ambiguous tie groups are 0.
ambiguous ties=0
Window-function examples are tiny finite table transforms; SQL dialects, NULL ordering, frames beyond prefix rows, optimizer behavior, performance, and product behavior are out of scope.
Read ordered rows
The row order is partition key first, then order key, then tie-breaker key.
deterministic row order
Summary
The compiler does not rely on hidden source order for ties.