Fixes Travis build errors due to inconsistent sorting of results

I imagine you don't need the listing to be sorted in any particular way, so sorting the results before doing the comparison should fix the Travis oddities.