For diffs, improve appendix label sorting

Previously, we assumed that we knew where the roman numerals in an appendix hierarchy existed. We don't do that now - taking our cue from the labels of the parent.