Iam firing an event to get API on the drawcallback after the datatable got data list. Also what i does that it keep check if current showed page has loaded and if the column data is loaded and column (say A) value is updated, it will sort accordingly by that column . Initially on datatable A column has value of zero.
Below is the code which Iam using for sorting.
let table = $('#comparison-table').DataTable();
let page_order = table.order();
table.order(page_order).draw(false);
My issue is once i click the sorting icon, above code runs again after the order.dt events. So, is there a way to sort by only available data.