Very specific, but I stumbled upon this situation: I retrieve the options of a category field via API. Sometimes they arrive in the right order, but sometimes they are different from UI ordering.
The API response itself doesn’t give an “order ID” for each option. The order seems to have meaning, because for some fields they are not in order of the field IDs. What is defining the order in which category options are listed?