Ordering taxonomy list by term weight, when terms are created via content adapter

I have a content adapter, creating pages with an “era” taxonomy. The taxonomy page lists the terms alphabetically. I would like to list them in internal chronology order, e.g., Paleolithic, Mesolithic, Neolithic, Chalcolithic, Bronze Age, Iron Age. I cannot be 100% sure I know all the taxonomy terms ahead of time.

I suspect the answer is no, but can I do this (and if so, how)? If I could be sure I know the taxonomy terms, would the answer change?

(I have read List custom taxonomy terms in a specific order (not alphabetical) , Ordering taxonomy terms by weight .)

Would setting a weight for each taxonomy term help?

See “Taxonomic weight” in Taxonomies

I don’t know what the terms will be so I can’t create frontmatter for them ahead of time, so I don’t think that’s a solution, although if you want to dig into the possibility further, I won’t stop you!

if you want a machine to sort you will have to tell the machine the rules…

so one would need a spec for that term incl. what happens if there’s a new one added.

it would be nice if you provide a current state of your code so anyone suggesting something will have a real base