A simple table sort exercise.