test cases for sort