[Tex/LaTex] bibtopic: sorting references according to order in .bib file

bibliographiessorting

I am working on a document containing two separate bibliographies, using the package bibtopic. The entries in both bibliographies are sorted alphabetically and I would like to change that.

I know that it's not possible with bibtopic to sort entries in the order of appearance. However, the documentation of bibtopic.sty states that it's possible to sort the entries according to the order in which they appear in the .bib file (see Section 5: Bugs and Restrictions, footnote #9):

So since there are no specific \citation commands in the (additional) .aux files, BIBTEX
can only apply author-year sorting or print the items in the order they appear in the .bib file.

Unfortunately, the documentation does not explain how to achieve the latter option. At least there is no documented option to bibtopic to control the sorting behavior. Also, choosing different .bst style files (plain, unsrt, etc.) does not affect the sorting at all.

Best Answer

It's not possible to choose a sorting style using bibtopic.

Items are always printed in alphabetical order when using \btPrintCited and sorted according to the order in the .bib file otherwise. That said, it's possible to emulate unsrt (or any sorting), by removing all items that are not cited from the .bib file, manually reordering the others according to the desired sorting (e.g. by year) and using \btPrintAll to print them.

However, this is really cumbersome and totally against the spirit of LaTeX ;-) If any kind of non-alphabetical sorting is a requirement, it is definetely better to use biblatex.