Free tools & games for everyone
Free · No sign-up · No accounts
Race up to four sorting algorithms on the same data and watch the bars move: bubble, insertion, selection, shell, merge, quick, heap, radix and more.
| Tab | Move between the choices and buttons |
|---|---|
| Enter / Space | Play, pause or step |
| ← → | Change the speed (on the slider) |
Each algorithm sorts a copy of the data once while every comparison, swap and write is recorded; the race then replays the recordings at the same speed, so each lane moves at the rate of its own work. Quick sort uses Hoare's partition with a median-of-three pivot; shell sort uses Ciura's gap sequence; radix sort works in base 10. The tests check that every algorithm sorts correctly and count their work on known cases.
With “reduce motion” set on your device, results are shown at once without animation. Nothing is stored or sent.
A fresh daily puzzle every morning, and new tools added every month.
Browse every product