Extrema finally sorts the list before finding minima and maxima.
Previously, it relied on the Quartiles class to sort the data (which
meant Quartiles must call its functions before Extrema could).