title: Sorting String Date Array in ascending and Descending Order
body: <p>Below piece of code:</p>
  
  <pre><code>var dateArr = new Array();
  dateArr[0] = "11-12-2012";
  dateArr[1] = "9-12-2014";
  dateArr[2] = "11-12-2012";
  dateArr[3] = "9-12-2011";
  </code></pre>
  
  <p>Have to sort the above String Date array in ascending and Descending Order. Please AnyOne give me some suggestions with examples for resolving the same.
  Thanks in Advance.</p>