fixed sorting bib keys