Add ordered and reverse-ordered case for SortTest