This is an exercise in sorting random numbers.