I use ag-grid version 26.0.0 and I want to sort grid programatically in pivot mode by a column that is not displayed.gridApi.setSortModel
is deprecated and anyway not working for me.While debugging how sorting works under the hood I found out that the default sorting method which is to click on header name to sort uses
gridApi.sortController.progressSort
However it is private and cannot be used safely.Is there another way to apply sorting by any columns that not displayed?