Invesco interview question

A question about the event queue. Given the code snippet explain which parts will execute first.