Corrected sort order