Query on Pages Section

Hi. I know there’s a filtering option for the Pages Section but I’m not sure if it’ll fit the bill for my use case. For example I have a collection of events. I’d like to create two pages sections. One section will be for upcoming events, the other for past events. Is that possible? Seems like a common need. Please advise.

This can be set up with PHP blueprints instead of the static yaml ones:

Thanks @texnixe . I’ll take a look at this.