Sorting database by Year

Hello, I wanted to create a dynamic page with the ability to sort by year. I want the user to pick what year he wants to see and the page to display only one selected year 2017,2016 etc. I can’t code so any help would be great. Thanks