Fixed sorting of years on index page