I understand that you can alter the Default ordering by adding:
$('#example').DataTable({
order:[[3, 'desc'], [0, 'asc']]
});
But is there a way to alter to original order so that if a user selects a header it always sorts in descending order rather than in ascending order as happens now.
I have a lot of columns that are numeric which hold a lot of empty or zero values and the users have to click the header twice: once to sort in the default ascending order and the second time to sort in the descending order.
Ideally the first column would sort ascending as it is alphabetical, but all other columns should sort descending as they are numerical.
Milton.