Hi Namita
Greetings from Syncfusion support
Based on your query you have faced issue that you are not receiving any query in the server side while clicking the sort icon for third time.
We have validated your reported issue at our end and found that it is the default behavior of sorting operation in the EJ2 Grid. When you click the sort icon in the header for the first two time, the sorting operation is performed for ascending and descending operation in the grid columns.
The third click on the sort icon is perform clear sorting operation on the grid column. A repetitive third click on the same column header will clear the sorting. So, we didn’t send any query and so there is no any query is received in the server side of the grid.
Please refer the below Documentation for your reference,
If this not meets your requirement, kindly explain more information about your requirement using screenshot or video demo and it will be very helpful to provide better solution.
Regards,
Vignesh Sivagnanam