Bibliography in wrong order if more than one work of an author is listed
I need your help with the following problem: The style I'm using is "Beltz - Pädagogik (German)" which according to the csl-file should sort the bibliography according to "creator-year-short". But instead the sequence in the bibliography mirrors the sequence of the first appearances of the works in the text. So in the bibliography I get:
Höflich, J. R. (1996a): ...
Höflich, J. R. (2005): ...
Höflich, J. (1997): ...
Höflich, J. R. (2016): ...
Höflich, J. R. (1996b): ...
instead of
Höflich, J. R. (1996a): ...
Höflich, J. R. (1996b): ...
Höflich, J. (1997): ...
Höflich, J. R. (2005): ...
Höflich, J. R. (2016): ...
Any ideas how to solve this problem? Thank you in advance!
Höflich, J. R. (1996a): ...
Höflich, J. R. (2005): ...
Höflich, J. (1997): ...
Höflich, J. R. (2016): ...
Höflich, J. R. (1996b): ...
instead of
Höflich, J. R. (1996a): ...
Höflich, J. R. (1996b): ...
Höflich, J. (1997): ...
Höflich, J. R. (2005): ...
Höflich, J. R. (2016): ...
Any ideas how to solve this problem? Thank you in advance!
To fix this, you'd have to create a macro, e.g. year-sort
<macro name="year-sort">
<date variable="issued" form="numeric" date-parts="year"/>
</macro>
and then use that as a sort key instead of creator-year-short (since creator-short is already included as the primary sort key). That should work.