I have a number of articles wit same author and year. In my latex document, some citation keys are changed from the original ones in Zotero. This is quite annoying, since the article then are presented in the wrong order in the bibliography. For example:
Zotero: 1. article = bahn2017a 2. article = bahn2017b 3. article = bahn2017c 4. article = bahn2017d
Latex: 1. article = bahn2017a 2. article = bahn2017d 3. article = bahn2017b 4. article = bahn2017c
What is really strange is that when I make a citation in the text with e.g. textcite, the list of entries in my .bib-file has the articles in the right order and with the correct citation keys from Zotero. So, I guess it must be biblatex which changes the citation keys. But why would it do that, and more importantly: how do I force biblatex to use the original order?
\documentclass{report}
\usepackage{polyglossia}
\setdefaultlanguage[variant=british]{english}
\usepackage[backend=biber,maxbibnames=99,urldate=short,sortlocale=danish,firstinits=true,style=authoryear-icomp,dashed=false,doi=false,isbn=false,url=true,]{biblatex}
\addbibresource{\jobname.bib}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{bahn2017c,
title = {Evolution of Teachers' Anticipation of Didactical Situations in the Course of Three Lesson Studies},
journaltitle = {Annales de Didactique et de Sciences Cognitives},
date = {2017},
author = {Bahn, Jacob},
file = {/home/jb/.mozilla/firefox/mwad0hks.default/zotero/storage/Y3G88PIA/Bahn - 2017 - Evolution of teachers' anticipation of didactical .pdf},
pubstate = {submitted}
}
@inproceedings{bahn2017d,
location = {{Nagoya, Japan}},
title = {How Infrastructures of Lesson Studies Impact on Teachers' Learning},
eventtitle = {{{WALS International Conference}}, {{November}} 24-26, 2017},
date = {2017},
author = {Bahn, Jacob},
file = {/home/jb/.mozilla/firefox/mwad0hks.default/zotero/storage/MVURD5TC/wals-pres.pdf},
pubstate = {submitted}
}
@article{bahn2017a,
title = {An Experiment with {{Open}}-Ended {{Approach}} in Grade Four Probability Teaching},
journaltitle = {Recherches en Didactique des Mathématiques},
date = {2017},
author = {Bahn, Jacob},
file = {/home/jb/.mozilla/firefox/mwad0hks.default/zotero/storage/LN55IYG2/Bahn - 2017 - An experiment with Open-ended Approach in grade fo.pdf},
pubstate = {submitted}
}
@article{bahn2017b,
title = {Teachers Learning from Their First Lesson Study},
journaltitle = {Journal of Mathematics Teacher Education},
date = {2017},
author = {Bahn, Jacob},
file = {/home/jb/.mozilla/firefox/mwad0hks.default/zotero/storage/3H3WVRMA/Bahn - 2017 - Teachers learning from their first lesson study.pdf},
pubstate = {submitted}
}
\end{filecontents}
\begin{document}
\chapter{List of papers and abstracts}
\noindent \fullcite{bahn2017a}.\\
\bigskip \noindent \fullcite{bahn2017b}.\\
\bigskip \noindent \fullcite{bahn2017c}.\\
\bigskip \noindent \fullcite{bahn2017d}.\\
\section{References}
\sloppy
\printbibliography[heading=none]
\end{document}
biblatex
is set using thesorting
package option. The default isnyt
(name, year, title) for authoryear styles.biblatex
creates the extra date parts (a, b, c, d) based on this. You can manually modify the sorting order using thesortkey
,sortname
, andsorttitle
fields. What is the logic behind the sort order you want? Having them sorted by title in the bibliography seems pretty reasonable to me.biblatex
than just the year. How can it know which one comes first? As Ulrike mentioned,biblatex
does not consider the entry key when it sorts, it uses the field data.biblatex
isn't changing citation keys, it's just not even using them. There are ways to solve your problem though. I'll post an answer.