Default sort order in contents page, and publication of 40.1
The sort order in the contents page was a bit of a hack, based on an ad-hoc @n attribute in the root element; it worked fine for a single issue, but multiple issues require more sophisticated sorting, so I've replaced that attribute with a more formal designation of each document's position within its issue:
<publicationStmt> ... <idno type="itemNo" n="03"></idno> ... </publicationStmt>
The leading zero makes for easier sorting in cases where perhaps the XPath or XSLT engine doesn't handle strict typing well. The <idno> element is mapped to the <elocation-id> element in the NLM output, giving us better NLM metadata.
The default sort sequence is now more sophisticated: it sorts by volume and issue descending (40, then 39, etc.), then by item number ascending (01, 02, 03...), so that the most recent issues sort to the top, but content within each issue sorts in sequence.
The documents for 40.1 have now been promoted to the published collection, and the editors will announce the publication after they've done a final check.