title: testing the order of a collection
body: <p>Given a list of objects I'd like to test that they return in the correct order, but I would like to not assert the entire object.</p>
  
  <p>For example I'd like to verify that they're in order by</p>
  
  <pre><code>id 1, 
  id 2,
  id 3,
  </code></pre>
  
  <p>or in another case</p>
  
  <pre><code>date mostRecent
  date older
  date oldest
  </code></pre>
  
  <p>or in yet another case</p>
  
  <pre><code>enum ValueA
  enum ValueB
  enum ValueC
  </code></pre>
  
  <p>basically I want to test that the sort I specified went through correctly but only a single property on the object actually affects this, so I'd like to specify my test with some variant of <code>hasFirstItem( withPropertyEqualTo ... has secondItem( withPropertyEqualTo</code></p>
  
  <p>I know I can write</p>
  
  <pre><code> assertEquals( property, list.get(0).id )
   assertEquals( property, list.get(1).id )
  </code></pre>
  
  <p>but I'd rather do something that makes the failure a bit more obvious as to being a sort issue, and perhaps declaratively, testing the whole collection at once. Is this possible?</p>