title: How to sort by Date with DataTables jquery plugin?
body: <p>I am using the datatables jquery plugin and want to sorty by dates.</p>
  
  <p>I know they got a plugin but I can't find where to actually download it from</p>
  
  <p><a href="http://datatables.net/plug-ins/sorting" rel="noreferrer">http://datatables.net/plug-ins/sorting</a></p>
  
  <p>I believe I need this file: dataTables.numericComma.js yet I can't find it anywhere and when I download datatables it does not seem to be in the zip file.</p>
  
  <p>I am also not sure if I need to make my own custom date sorter to pass into this plugin.</p>
  
  <p>I am trying to sort this format MM/DD/YYYY HH:MM TT(AM |PM)</p>
  
  <p>Thanks</p>
  
  <p><strong>Edit</strong></p>
  
  <p>How can I change this to sort by MM/DD/YYYY HH:MM TT(AM |PM) and change it to U.S date?</p>
  
  <pre><code>jQuery.fn.dataTableExt.oSort['uk_date-asc']  = function(a,b) {
      var ukDatea = a.split('/');
      var ukDateb = b.split('/');
  
      var x = (ukDatea[2] + ukDatea[1] + ukDatea[0]) * 1;
      var y = (ukDateb[2] + ukDateb[1] + ukDateb[0]) * 1;
  
      return ((x &lt; y) ? -1 : ((x &gt; y) ?  1 : 0));
  };
  
  jQuery.fn.dataTableExt.oSort['uk_date-desc'] = function(a,b) {
      var ukDatea = a.split('/');
      var ukDateb = b.split('/');
  
      var x = (ukDatea[2] + ukDatea[1] + ukDatea[0]) * 1;
      var y = (ukDateb[2] + ukDateb[1] + ukDateb[0]) * 1;
  
      return ((x &lt; y) ? 1 : ((x &gt; y) ?  -1 : 0));
  };
  </code></pre>