FIX: Correct Categorical behavior in StataReader

Ensure that category codes have the same order as the underlying Stata data.

xref #8816
the underlying ... (missing word I think)