order by test cases