Sort in descending order [dm22: STB-22] ------------------------ ^sortd^ varlist [^in^ range] sorts the current data set in the reverse of the usual sort order of ^varlist^. Aside from reversing the order of the sort, ^sortd^ operates exactly like Stata's ^sort^ command with one exception: ^sortd^ does not mark the data set as sorted. As a consequence, you cannot use the ^by^ prefix and similar constructions after using ^sortd^ Author ------ David Mabb Health Services Advisory Group, Inc. FAX 602-241-0757 Also see -------- Manual: [5d] sort STB: dm22 (STB-22)