Fixed BibSort