I have some problem to sort a column in jquery data table.
I want to sort the first column ascending/descending.
This is some data from the column (default sorted by desc):
R949
R923
R909
R594
R559
R1017
AS you can see the default Sorting algorithm doesn't work with alphanumeric characters.
This are my settings:
$('#myTable').dataTable({
"aaSorting": [[0, "desc"]],
"paging": false,
"lengthChange": false,
"searching": true,
"ordering": true,
"info": true,
"autoWidth": false
)}
my wish descending result:
R1017
R949
R923
R909
R594
R559
Anybody have some hint what I do wrong? I also tried to use
"columnDefs": [
{"type": "natural", "targets": 0 }]
But this also doesn't work