I use jQuery DataTables in my code.
One of my columns has values, like:
AB 05-05-2019
CD 01-05-2019
EF 09-05-2019
When I click this column's header, I want it to get sorted only by using date, not by the prefix ('AB', 'CD', 'EF'). The result should be like:
CD 01-05-2019
AB 05-05-2019
EF 09-05-2019
What I've tried is, inserting a hidden column only with the date and when I sort column with the prefix, I sort my hidden column using JavaScript.
But, is there any proper way by using default configuration of jQuery DataTables?