Fixed bibliography sorting