StataReader: Support sorting categoricals

how do you know (from stata) that they are ordered? (is their some kind of flag)?