sorting of references now includes year