A categorical trait value can hold several space-separated terms, such as shrub tree. trait_value_term_order, in the metadata block of the database's config/metadata.yml, says how they are written: alphabetical sorts them, so the order carries no meaning, and input_order keeps the order given by the source, so the first term may be the one it considered most likely. Either way a repeated term is dropped. When the setting is absent the order is alphabetical, which is how every database was built before the setting existed. The setting is copied into the built database's metadata with the rest of that block, which is how a user of the database can tell whether term order carries meaning.

util_trait_value_term_order(resource_metadata)

Arguments

resource_metadata

The metadata block of the database's config/metadata.yml, as passed to dataset_process()

Value

"alphabetical" or "input_order"