Best way to group child pages by year?

Is there an automated (future proof) way of grouping all child pages into years, using their date attribute?

I considered iterating over them all and doing something when the prior page’s year doesn’t match the year of the next page, but I think that has it’s downsides.

Any suggestions welcome.