title: How to find the earliest date in an array using JavaScript
body: <p>How can I find the earliest date, i.e. minimum date, in an array using JavaScript?</p>
  <p>Example:</p>
  <pre><code>[&quot;10-Jan-2013&quot;, &quot;12-Dec-2013&quot;, &quot;1-Sep-2013&quot;, &quot;15-Sep-2013&quot;]
  </code></pre>
  <p>My output should be:</p>
  <pre><code>[&quot;10-Jan-2013&quot;, &quot;1-Sep-2013&quot;, &quot;15-Sep-2013&quot;, &quot;12-Dec-2013&quot;]
  </code></pre>
  <p>How can I do this?</p>