DataTables 1.10.0 - iSortCol always set to 0 even when given "aaSorting": []
DataTables 1.10.0 - iSortCol always set to 0 even when given "aaSorting": []

Hey there, fantastic project.
I'm using an ajax source, feeding the data through fnServerData and returning data through a web service.
It's configured like this:
$('#queryTable').dataTable({
"aaSorting":[],
"bJQueryUI": true,
"stateSave": true,
"bServerSide": true,
"bProcessing": true,
"sAjaxSource": myAjaxUrl,
"dataType": 'json',
"type": "POST",
"aoColumns": columnLayout,
"scrollCollapse": true,
"sDom": "prltpiT",
"language": {
"processing": "Querying...",
"emptyTable": "No data found",
},
"fnServerData": function (sSource, aoData, fnCallback, oSettings) {
$('#system-query-error-alert').hide('fast');
oSettings.jqXHR = $.ajax({
"dataType": 'json',
"type": "POST",
"url": sSource(),
"data": aoData...
but when the call arrives at the server, the sort columns are set with an index of [0], I was expecting the aaSorting [] to be passed through.
Is this expected or a bug? I'm interpreting it as a bug as I had no way to distinguish the initial sort from the column sorted.
I ended up solving it through the URL I used in the ajax post.
It would be good to get to the bottom of it.
Thanks,
Tristan