# Keep the server's order within sortIndex ties · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/47b32d088d24331172da076e6299ff5cff9fa7e1)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: 47b32d088d24331172da076e6299ff5cff9fa7e1

Requested commit: 47b32d088d24331172da076e6299ff5cff9fa7e1

Commit: 47b32d088d24331172da076e6299ff5cff9fa7e1

Tree: 9a5347c6389563bc10b7edf473d72b20c8eb2765

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Keep the server's order within sortIndex ties

Dart's List.sort is not stable, so on a page with more than 32 elements
tied rows could swap stacking between two loads of the same data. Sort
elements, lineups, and pages with a stable merge sort instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [e881a0713a3ba5c61d21fc011521d0b1f36860d5](https://git.cafe/dara/icarus/commit/e881a0713a3ba5c61d21fc011521d0b1f36860d5?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/47b32d088d24331172da076e6299ff5cff9fa7e1?format=markdown)
