-
@AnthonyPBald True, but I wouldn’t suggest counting on it. If you really *want* randomization then generate an additional, explicitly random variable r and “sort varlist r” (and “set seed” somewhere, of course). If you don’t need randomization I’d do “sort varlist uniqueid”).