Gather and sort events