Helper to group posts by date

I want my index page to be really simple and list my posts by YYYY headings. I’ve seen threads in the forum asking for similar but by day or date. This seems like something that should be fairly simple to do, but from my research, I’d need to either edit core or I’ll need to do some Javascript trickery to add these headings in. Screenshot attached with the example of what I want to do, though I’m sure there are other applications.