title: How to sort objects by date ascending order?
body: <p>If I have a list of object:</p>
  <pre><code>var objectList= LIST_OF_OBJECT;
  </code></pre>
  <p>each <strong>object</strong> in the list contains three attributes: &quot;<strong>name</strong>&quot;, &quot;<strong>date</strong>&quot;,&quot;<strong>gender</strong>&quot;</p>
  <p>How to sort the objects in the list by &quot;<strong>date</strong>&quot; attribute ascending order?</p>
  <p>(the &quot;<strong>date</strong>&quot; attribute contain string value like &quot;2002-08-29 21:15:31+0500&quot;)</p>