fires after sorting dataset
view.data.attachEvent("onAfterSort", function(by, dir, as){ //... some code here ... });