I've been messing around with the sorting order for the bibliography section and thought I could offer some quick advice and an interesting question. At around line 4880, look for:

<xsl:template name="sortedList">
<xsl:param name="sourceRoot"/>
<xsl:apply-templates select="msxsl:node-set($sourceRoot)/*">
<xsl:sort select="b:RefOrder" data-type="number"/>
<xsl:sort select="b:Author/b:Main/b:NameList/b:Person[1]/b:Last" />
<xsl:sort select="b:Author/b:Main/b:NameList/b:Person[1]/b:First" />
<xsl:sort select="b:Author/b:Main/b:NameList/b:Person[1]/b:Middle"/>
<xsl:sort select="b:Title"/>

Swap the order of the "xsl:sort" elements to control the listed order. This has to be done a second time 10 or 20 lines down.


In the citation, does anyone know of a way to use the order that the source is listed (in the bibliography) rather than the order that it is used?

I tried to find the definition for RefOrder, but it was not in the document. I hope a variable such as "RefOrderListed" is available.

Any help or advice would be appreciated.