datatables.net sort desc code example
Example 1: datatable desc active
$('#exemple').DataTable({
"order": [[ 3, "desc" ]], //or asc
"columnDefs" : [{"targets":3, "type":"date-eu"}],
});
Example 2: sort datatable c#
Datatable.DefaultView.Sort = "Preferance ASC";