title: DateTime sorting for datatables
body: <p>I'm currently working on a datatable that displays content with dates. I have the table sorted descending on the date field of the datatable. </p>
  
  <p>Here is the code:</p>
  
  <pre><code>var eventsTable = $("#eventsTable").DataTable({
      "ajax": '',
      "order": [0, "desc"],
      "columns": [
     { "data": "DateModified" },
     { "data": "Type" },
     { "data": "UserName" },
     { "data": "Description" },
     { "data": "Priority" }
      ]
  });   
  </code></pre>
  
  <p>However, the issue I'm having is it's not sorting the date/times properly. An example of what the date times look like ordered using this is:</p>
  
  <pre><code>18/11/2015 9:58:36 a.m.
  18/11/2015 6:48:22 a.m.
  18/11/2015 4:25:34 p.m.
  18/11/2015 2:55:24 p.m.
  18/11/2015 12:40:10 p.m.
  </code></pre>
  
  <p>As you can see that's not the correct order by date time. For some reason it's just getting the first number from the time and sorting it based on that. What can be done with this datatable so that it orders based on date/time.</p>