pedido de datos
$(document).ready(function() {
$('#example').DataTable( {
"order": [[ 3, "desc" ]]
} );
} );
$(document).ready(function() {
$('#example').DataTable( {
"order": [[ 3, "desc" ]]
} );
} );
//when using thymeleaf
$(document).ready(function() {
$('#example').DataTable( {
"order": [
[0, "desc"]
]
} );
} );
Datatable.DefaultView.Sort = "Preferance ASC";