edit ordering of events