I hava an ADG which is initially sorted based on the order of the data provider eg. Col A + Col B. The ADG is refreshed every 5 sec.
My problem is when the user clicks any other combination of columns eg. Col C + Col D on ADG, after that ADG should then on be sorted on these columns i.e. Col C+ Col D. Also it should have the capability of sorting all the columns in ascending & descing order. Currently if the user clicks on new columns i.e col C + col D then it sorts on those columns for couple of seconds. Then again when ADG is refreshed after some seconds it sorts on original columns i.e col A+ col B. This should not happen even after it is refreshed it should sort on col C + col D How do I acheive this?

