Reworked logic to display events by start date on the home page