Merge sort
Every number on its own is a run in order. Merge neighbouring runs into runs twice as long, round after round, by comparing their fronts and taking the smaller next, until one run holds the whole row.
- comparisons
- 0
- numbers placed
- 0
step 1 of 1
Examples