I want to sort multiple columns at a time programatically. I am NOT using the default sorting method which is to click on header name to sort and ctrl/shift key + header name to sort multiple columns. I have a different option in the column options menu which is used to sort that specific column. For single column sort, I am using the following api.
params.api.setSortModel([
{
colId: params.column.colId,
sort: "asc",
}
Is there any api or anyway to sort multiple columns?