work on sorting with tests
work on sorting results with tests