Table 2: Reading and sorting floating-point numbers. A random-number ‘‘generate'' function is added to give a feel for the cost of input.