Correct sort order