title: Sorting Arraylist of Custom object by creation date
body: <p>I have a custom object whose structure is </p>
  
  <pre><code>public String name;
  public int type;
  public String createdOn;
  </code></pre>
  
  <p><code>createdOn</code> is date and its format is : <code>2011-12-16T23:27:27+0000</code></p>
  
  <p>I have stored multiple objects of this type in <code>ArrayList</code> and now I want to sort them according to there creation date and time.</p>
  
  <p>I have tried using <code>Collections.sort(....)</code> , but  no suitable result.</p>