add events/rewards sort function(dispno added).