Sort bibliography by series number
I have numerous citations from the collected works of a couple of authors. Since the publication date is all the same, I'd like to sort by series number. My goal is to have it assign the additional letters after the year in each citation (like 2003d) according to the series order, and have each entry appear in this order in the bibliography to organize it better. How do I do that?
<key variable="collection-number"/>
to the sort section of the bibliography, likely as the third condition (after author and date) -- depends a bit on the citation style. Everything else, including the order of the suffix letters, would happen automatically.https://www.zotero.org/support/dev/citation_styles/style_editing_step-by-step
The current code in the bibliography section is:
</sort>
<layout suffix=".">
<group delimiter=". ">
<text macro="contributors"/>
<text macro="date"/>
<text macro="title"/>
</group>
<text macro="description"/>
<text macro="secondary-contributors" prefix=". "/>
<text macro="container-title" prefix=". "/>
<text macro="container-contributors"/>
<text macro="edition"/>
<text macro="locators-chapter"/>
<text macro="collection-title-journal" prefix=", " suffix=", "/>
<text macro="locators"/>
<text macro="collection-title" prefix=". "/>
<text macro="issue"/>
<text macro="locators-article"/>
<text macro="access" prefix=". "/>
</layout>
Are you saying to insert the line of code you gave above in the
<group delimiter=". ">
section, after the contributors and date?<sort>
<key macro="contributors"/>
<key variable="issued"/>
<key variable="title"/>
</sort>
You'd do
<sort>
<key macro="contributors"/>
<key variable="issued"/>
<key variable="collection-number"/>
<key variable="title"/>
</sort>