Bibliography Order, Harvard (author-date)

If you have 2 sources by the same author but different years, the bibliography will list these in order of citation rather than date order.

So if the first citation is "Jones 2009" and a subsequent citation is "Jones 2003" then the bibliography appears as:
Jones 2009
Jones 2003

But I need them to appear in the bibliography in chronological order, irrespective of the order of citation. Is there a simple solution to this?
Many thanks
  • there have been some problem with the sorting and sometimes this aspect doesn't work perfectly.
    Right now, though, the Harvard style sorts first author, then title
    you'd need to change
    <sort>
    <key macro="author"/>
    <key variable="title"/>
    </sort>
    to
    <sort>
    <key macro="author"/>
    <key macro="year-date"/>
    </sort>
  • edited January 15, 2010
    The standard harvard1 style sorts by author, then title. Are the references by the same author coming out in title-sort order? It should be possible to modify the style to sort on author and date, if that's what you need (but just to be sure, please check that it's doing the right thing by the style first).

    (EDIT: umhz, what the very speedy adamsmith says!)
  • edited January 16, 2010
    Thanks for the replies, it's much appreciated.

    I've made the changes but it still always generates the bibliography on citation order, not date order.

    This is what I have in the style:

    (not sure if the first has any bearing - not been changed)

    <macro name="year-date">
    <choose>
    <if variable="issued">
    <date variable="issued">
    <date-part name="year"/>
    </date>
    </if>
    <else>
    <text term="no date"/>
    </else>
    </choose>
    </macro>

    <sort>
    <key macro="author"/>
    <key macro="year-date"/>
    </sort>

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