Why? Citation items are not sorted correctly
Is this an error in Zotero? For the same
The same
in both
The bibliography items are sorted by
But the citation items are not. It only sorts into Chinese and English groups, and does not perform the
https://s3.amazonaws.com/zotero.org/images/forums/u6410700/ftjuuy3beanpq1epkmek.jpg
I tried many times, also from new blank Word files, but still the same.
Why does this happen? What is wrong? Thanks a lot.
If it is useful to show the macro:
sort
lines, the sorting behavior in bibliography
is correct, but it is wrong for citation
section.The same
<sort>
<key variable="language" sort="descending"/>
<key macro="issuedYear" sort="ascending" />
</sort>
in both
citation
and bibliography
sections. The bibliography items are sorted by
language
and then by year
correctly. I.e. sorted in the ascending order of year
within Chinese and English groups.But the citation items are not. It only sorts into Chinese and English groups, and does not perform the
<key macro="issuedYear" sort="ascending" />
. https://s3.amazonaws.com/zotero.org/images/forums/u6410700/ftjuuy3beanpq1epkmek.jpg
I tried many times, also from new blank Word files, but still the same.
Why does this happen? What is wrong? Thanks a lot.
If it is useful to show the macro:
<macro name="issuedYear">
<choose>
<if variable="issued">
<date variable="issued" date-parts="year" form="numeric"/>
</if>
<else/>
</choose>
</macro>
Can you share your complete style via pastebin.com or similar and put the link here?
The full code is at: https://pastebin.com/vNHBtg5Z