getEvents now accounts for order