DocSortorder

the sort order of Allowed Types isn't always the same - so we sort it
before we store it.