sorting out years