I found the same problem when adding the mintmark and other marks to the year lines in N#7733
According Xavier https://en.numista.com/forum/topic126255.html#p1024317 the mintmarks are sorted alphabetically. The order is not based on the name of the mint associated to the letter.
The order is not as expected when the mintmark is a symbol. The year lines in my example have this order:
1871 🟌 D E M - Cal# 10 - *1874
1871 🟌 D E M - Cal# 11 - *1818
1871 🟌 D E M - Cal# 12 - *1875
1871 🟌 S D M - Cal# 5 - *1871
1871 🟌 S D M - Cal# 6 - *1818
1871 🟌 S D M - Cal# 7 - *7118
1871 🟌 S D M - Cal# 8 - *7171
1871 🟌 D E M - Cal# 9 - *1873
It appears to be sorted by the Cal# reference (but alphabetically, not numerically).
The expected order is year, mintmark, other marks, letters, reference and, maybe, comment:
1871 🟌 D E M - Cal# 9 - *1873
1871 🟌 D E M - Cal# 10 - *1874
1871 🟌 D E M - Cal# 11 - *1818
1871 🟌 D E M - Cal# 12 - *1875
1871 🟌 S D M - Cal# 5 - *1871
1871 🟌 S D M - Cal# 6 - *1818
1871 🟌 S D M - Cal# 7 - *7118
1871 🟌 S D M - Cal# 8 - *7171
(numerical order in the reference)
or at least:
1871 🟌 D E M - Cal# 10 - *1874
1871 🟌 D E M - Cal# 11 - *1818
1871 🟌 D E M - Cal# 12 - *1875
1871 🟌 D E M - Cal# 9 - *1873
1871 🟌 S D M - Cal# 5 - *1871
1871 🟌 S D M - Cal# 6 - *1818
1871 🟌 S D M - Cal# 7 - *7118
1871 🟌 S D M - Cal# 8 - *7171
(alphabetical order in the reference)
Wanted & swap list (euro coins & world coins, exonumia and banknotes circulated)
https://goo.gl/AQjfKp - I have euro & world CC coins for swap.