DHTNLX Grid sorting reset

I am using DHTMLx grid and it has lot of header data that it gets from backend code which includes headers and styles (inlcuding column sorting data).

Now this dat is used for original sorting for the grid tables. but once I sort the column the value changes. How can we reset the sort for the grid is there any api? I could not find other than setSort() but that doesn’t work.

In simple words,how to reset the sorting to the original sorting state?

Unfortunately such feature is not available you will have to reload the data of your grid.