Changed the order that events are mentioned and listed.

This has no practical effect on the code, but it makes it easier
to read.