Changed sorting of references from alphabetical (which wasn't fully working due to the author field) to sorting by order of apperance