Yeah, instead of having a hidden sort column, it seems like you should just add them in the correct order to begin with.

For example, in _get_valid_caa_types, you can turn caatype_dict into a list and have:

```	
    caatypes.append({'name': name, 'title': _(title), 'desc': _(desc), 'pos': pos})
caatypes.sort(key=lambda x: x["pos"])
```