date Sorting Problem with Jquery Tablesorter
I am trying to sort a table which has column like 2009-12-17 23:59:59.0 . I am using below to apply sort $(document).ready(function() { $("#dataTable").tablesorter(); } ); But its not working for the dates of format yyyy-mm-dd. Can any one suggest how can i apply this format for sorting? The right thing to do would be to add your own parser for this custom format. Check this to get a grasp on how that works. jQuery Tablesorter: Add your own parser Then take a look into the tablesorter source (search for uslongdate, shortdate and then watch how the parsers for date formats are internally done