Best practice for year based paging Is there a best practice for a paging based on the years of entries (instead of page numbers)?

Example:
I have 3 records with post dates 2019-01-01 2018-01-01 and 2016-01-01. So my paging should look like this:

2019 | 2018 | 2016

It is easy to fetch the needed info with a raw query like:

{% set pagingYears = craft.query()
    .select('DISTINCT YEAR(postDate)')
    .from('entries')
    .where({'sectionId': 1})
    .column()
%}


But does craft provide some components or a better way to solve such a problem?
Welcome to craft 

There is a example for a archive on the official page: Creating an ​“Archive” Page for Entries

Maybe this fit's your use case.