FIX: Correct Categorical behavior in StataReader

Ensure that category codes have the same order as the underlying Stata data.

xref #8816