FIX: Correct Categorical behavior in StataReader

Ensure that category codes have the same order as the underlying Stata data.

xref #8816
maybe add a link here to the new docs