Sort the events in the correct order.

Sort the events in the correct order.

Sort the events in the correct order.