I am using jquery datatable plugin to list down the data in my java spring MVC web application. One of my fields in the table contains date with timestamp. In that, I have been trying to sort the data elements. When I try to sort the elements in field containing date with timestamp, sorting does not work.
I am using the following jquery for datatable initialization
$('.swcm-dt-basic').dataTable( {
"responsive": true,
"order": \[\],
"language": {
"paginate": {
"previous": '<i class="swcm-psi-arrow-left"></i>',
"next": '<i class="swcm-psi-arrow-right"></i>'
}
}
} );
The following image shows the issue
