= Stata Sort = '''`-sort-`''' re-orders cases. See also [[Stata/GSort|-gsort-]]. <> ---- == Usage == {{{ sort foo bar baz }}} Cases are sorted according to each key variable in ascending order. Missing values are treated as arbitrarily high. Labeled missing values (i.e. `.a` through `.z`) are ordered alphabetically (in terms of the label) after the unlabeled missing values (`.`). ---- == See also == [[https://www.stata.com/manuals/dsort.pdf|Stata manual for -sort-]] ---- CategoryRicottone