High-Performance Sorting of Large Datasets
Sort keys are computed once per row and collators are cached, so 1 million rows can be sorted on the client within a target time. An optional Web Worker runs sorting off the main thread so the UI stays responsive. No telemetry is collected.
Planned. This page shows the specification from issue #186. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
A grid of 1 million generated rows with a timing display.
Expected behavior
The demo displays sort timings. With the worker enabled, the UI stays interactive and a progress indicator is shown during sorting.
Planned API surface
sortWorkersortKeyCacheonSortProgressAcceptance criteria
- 1 million numeric rows sort in under a documented time budget on the reference hardware (pending)
- The worker produces the same order as main-thread sorting (pending)
- Stability is preserved in the worker (pending)