Apply the date sorting in dd/mm/yyyy on unique().sort() data
Apply the date sorting in dd/mm/yyyy on unique().sort() data

Hi
I'm using the ultimate date/time sorting plugin - mentioned here: https://datatables.net/blog/2014-12-18
This is working fine for the sorting of the table but how do I apply it on the unique data i get from a column.
I'm basically building a checkbox list with the unique data from a column, but when I select the date column it is sorting it in the wrong order - US format.
data.unique().sort().each(function (value, index) {
// do my stuff here
});
How do I apply the correct sorting method ?
This discussion has been closed.