Questions is a duplicate of this one: Group Posts by First Letter of Title
However, I was unsure whether I could ask on that, or I had to start a new question, so I did the latter ;)
I implemented the solution that @helgatheviking suggested in 2014 and it works/worked brilliantly, however - I have to do another list for 2015, I have tried to figure out how to separate the categories into two different lists but can't do it.... I have a category called 2014 & 2015
I tried to alter this line:
$posts = get_posts(array('numberposts' => -1) );
by adding 'category' => x but that didn't work as I thought it might...
Any help would be fantastic and thanks in advance.