[voyager][test] Add tests for sort order.