title: Date Sorting - Latest to Oldest
body: <pre><code>Collections.sort(someList, new Comparator&lt;SomeObject&gt;() {
              public int compare(final SomeObject object1, final SomeObject object2) {
                  return (object1.getSomeDate()).compareTo(object2.getSomeDate()); 
              }}
          );
  </code></pre>
  
  <p>Would it give me the objects with latest dates meaning the list will contain the set of objects with latest date to oldest date?</p>