Required library edition:
This event occurs exactly after sorting took place in the grid.
Parameters:
grid.attachEvent("onAfterSorting", function(index,type,direction){ //any custom logic here });