rspec matcher for checking that a collection is sorted by an attribute