= Stata Sort = The '''`sort`''' command re-orders rows of data. <> ---- == 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