5 Moves from the unsorted into the sorted list, 1 Moves from the unsorted into the sorted list, it goes to the left of 5, 3 Moves from the unsorted into the sorted list, it goes to the left of 5, but the right of 1, 4 Moves from the unsorted into the sorted list, it goes to the left of 5, right of 1, right of 3.

Leaderboard

Visual style

Options

Switch template

Continue editing: ?