(Or at least, it came out that way reliably after several runs of a million iterations each time).
Since a value sorted this way has a decreasing chance to be swapped an increasing number of positions, this result makes perfect sense.
(Or at least, it came out that way reliably after several runs of a million iterations each time).
Since a value sorted this way has a decreasing chance to be swapped an increasing number of positions, this result makes perfect sense.