Working out the sorting bug...