data table sort order not working properly

data table sort order not working properly

php_dev1php_dev1 Posts: 1Questions: 1Answers: 0

shorted order showing like
1
11
12
13

it should be
1
2
3
4

here is script :
$('#example1').DataTable({
dom: 'Bfrtip',
bom: true,
buttons: [
'excel',
{
extend: 'pdfHtml5',
orientation: 'landscape',
pageSize: 'LEGAL'
},
'print'
],
"bPaginate": true,
"scrollX": true
});

Answers

This discussion has been closed.