sorting of bibliography now correct