expensively sort the list in memory
Refactor test to use known values