Sorting dates with dataTables. Bug fixed.