updated querying for homepage to use event date first