Hello my friends!

I have a list of items (which I have created).
Each item has a property that can be set called year.
I want to create a new list, which will contain a number of lists of items.
Each list will contain all the items that has the same year in their property.
I've tried to do this my self but I kept getting all these errors...

can anyone help??

thanks!!