How to sort three and four digits correctly.

Hi,
I want to sort my bibliography according to the date that an ancient author passed away. This is done by using the csl-field "notes".

Problem: If it needs to sort 386 and 1226 then it will regard 1226 to be smaller than 386. This can be solved by adding a 0 in front e.g. 0386. However this doesn't look nice at all.

Is there any way to alter the sort function? The one below is the one I am currently using:
<bibliography hanging-indent="true" et-al-min="11" et-al-use-first="7" subsequent-author-substitute="———" entry-spacing="0">
<sort>
<key variable="language"/>
<key variable="notes"/>
<key variable="title"/>
</sort>
  • no, unfortunately not. All variables that aren't specified as dates or numbers use "dumb" alphabetical sorting.
  • If your bibliography lists the ancient author date first in the reference, you can use Word's built-in sort function to do a proper sort as a workaround until Zotero implements better support for ancient works (which, I believe, is part of the forthcoming field changes in 4.2).
  • Thanks.
    I use the field call-number at the moment to store the various dates and it works perfectly.

This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.

Sign In or Register to comment.