CLS code to sort biblio by first author and number of authors

Hello,

I am almost done adapting the APA 6th style for another journal but I got stuck needing to sort the bibliography by:
1) First author
2) Number of authors
3) Year of publication

I cannot find the syntax to sort by first author or by number of authors in the CSL specification. Could someone point me to where it is?

Thank you,

Marcos
  • <sort>
    <key macro="author" names-min="1" names-use-first="1"/>
    <key macro="author-count"/>
    <key macro="issued-sort" sort="ascending"/>
    </sort>


    with
    <macro name="author-count">
    <names variable="author">
    <name form="count"/>
    <substitute>
    <names variable="editor"/>
    </substitute>
    </names>
    </macro>
  • Worked perfectly!
    Many thanks, Adam!
    Marcos
Sign In or Register to comment.