Correct error for initial sort.