Modifying the roll-up code to maintain the order of rolled up the events such that, the rolled events show up in the list where the first of the rolled events appears