modify event array order