Skip to content

Insertion sort

ordering

Level 1 of 3

Also called Straight insertion.

Sort the way you sort a hand of cards. Take each number in turn and move every bigger number before it one place right, then put it in the gap. The part on the left is always in order.

comparisons
0
moves
0

step 1 of 1

Examples

Whole numbers from 1 to 99, between 2 and 12 of them, separated by commas or spaces.