sorting typo