TDD4

add test case for correct sorted order