I am using jQuery Datatables in my project and I have made \"custom value\" sorting available on a column by using the attribute data-sort
as described here:
ht
You need to invalidate() the cell(s). dataTables have no chance to know that you programmatically have changed orthogonal data (=the custom sort values) for one or more cells in a column. If you have an instance like
var table = $('#example').DataTable();
and change data-order
by
$('td#myColumnId').attr('data-order', newValue);
then invalidate
the cell / column by
table.cells("#myColumnId").invalidate();