Higher test coverage for sorter