Solution to the POTD Sort Times problem.