FIX: Correct Categorical behavior in StataReader

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

closes #8816