<tr>
<th data-name="c1">@Localizer["Column1"]</th>
<th data-name="c2" data-orderable='false'>@Localizer["Column2"]</th>
<th data-name="c3" class="">@Localizer["Column3"]</th>
<th data-name="c4" class="">@Localizer["Column4"]</th>
</tr>
If c2 is not sortable, and the user order the table by c3, jquery datatables will send index 2 to server.
As the model will be decorated with
[DataTableResolver(OrderableColumns = new[] { nameof(C1), nameof(C3), nameof(C4) }
As index 2 is sent to the server by datatables writing in the data callback:
JSON.stringify(data)
Then the server will wrongly assume we want to order on C4, whereas we clicked on C3 header.