sort data first before send eventlist