fix sorting of publications