citation-style-language/styles — pull request #356 by aurimasv (2013-01-26 05:24:54+00:00)
Title: Fix [Cell] sorting

See http://forums.zotero.org/discussion/27396/bibliography-order-issues/

Publications (RDF) for testing/verifying this can be found at https://gist.github.com/4640309

One very minor issue (this is not even clear or defined by Cell):

See Crow publications in the linked RDF.

When inserting two sources (say with more than 3 authors) that have the same first author, same year, the order in the bibliography and the disambiguation (i.e. year+letter) are determined by the order in the text. This works perfectly fine.

Now, if you insert these publications into the same citation, I'm not entirely sure how the disambiguation and bibliography sorting is determined. Trying out different ways of adding these two publications (changing the order in which I add and selecting or deselecting "keep sources sorted"), I think that disambiguation is determined before citations are "sorted". E.g. If you add "Mutations in the gene encoding..." and then you add "Mutations in genes encoding..." (sort them in that order in the dialog box, "keep sources sorted" is unchecked). Then you get `(Crow et al., 2006b, 2006a)`. I realize that this is manually sorted out of order (and is probably an almost unrealistic edge case), but, I still think the correct way would have been `(Crow et al., 2006a, 2006b)`

Anyway, just a tiny nit.