# sorting multiple bibliographies in biblatex

I have a thesis which has two bibliographies. It includes a list of publications and a reference list.

The reference list should be unsorted, or rather, sorted in order of appearance, while the list of publications should be sorted by date.

I have used biblatex to do this. To sort the references by order of appearance I have used the sorting=none option in the preamble, and I have generated the list of publications by using

\nocite{*}
\printbibliography[keyword=pub]


but have noticed that this in fact sorts the publications by name.

I have seen this: biblatex style with multiple bibliographies in one document, which seemed to indicate that sorting separate bibliographies with different sorting options was a coming feature. I just updated biblatex now, and it doesn't seem to be here yet.

Is there some way of forcing the list of publications to be sorted by date? I tried setting the presort, sortkey and sortname fields manually, but that did not seem to work. Any hack solution while waiting for the new biblatex version would be appreciated.

-
One way to do it might be to actually cite the publications in the order I want, but then those citations would appear in the text. Is there some way I can tuck away these dummy citations? This would be a pretty dirty hack. I hope there is a better way. –  Katt Jan 24 '12 at 23:20
Biber has this functionality but the interface in biblatex is not implemented yet. It's planned for biblatex 2.x –  PLK Jan 25 '12 at 7:44

Use \nocite to "cite" the publications in the order you want.

\documentclass{article}

\usepackage[sorting=none]{biblatex}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{A01,
author = {Author, A.},
year = {2001},
title = {Alpha},
}
@misc{B02,
author = {Buthor, B.},
year = {2002},
title = {Bravo},
}
@misc{C03,
keywords = {pub},
author = {Cuthor, C.},
year = {2003},
title = {Charlie},
}
@misc{Z00,
keywords = {pub},
author = {Zuthor, Z.},
year = {2000},
title = {Zulu},
}
\end{filecontents}

\begin{document}

Some text \autocite{B02,A01}.

\nocite{Z00,C03}

\printbibliography[title={Reference list},notkeyword=pub]

\printbibliography[title={List of publications},keyword=pub]

\end{document}


-

At the moment you can't have different sorting schemes for different bibliographies, this still has to be implemented.

There is a way around this limitation which I use, but it probably won't do the trick for you: I often have a bibliography and a filmography. While the bibliography is sorted nyt, the filmography should be sorted by titles. In this case you can use the \DeclareSortExclusion command to get different sorting schemes:

\DeclareSortExclusion{misc,movie,video}{sortname,author,editor,translator}


Here I can simply define that the various names shouldn't be used for certain document types. Of course, this will only help you if the reference list uses different document types than the bibliography.

EDIT: The possibility to have different sorting schemes is now available in the dev builds and will be part of 'biblatex 2./biber 1.0'. If you're not afraid of Github and building your own Perl programs, you can have this functionality already.

-
Many thanks for the "you can't have different sorting schemes for different bibliographies", @Simifilm - I just now need something like that, and I couldn't really confirm if this was an existing option in biblatex or not... Thanks also for the workaround tip - cheers! –  sdaau May 24 '12 at 7:26
See my EDIT: This is now available in the dev tree. –  Simifilm May 24 '12 at 11:41
Thanks for that note, @Simifilm - cheers! –  sdaau May 24 '12 at 16:11