I had forgotten about the command -sortrows-. Sorry about that.
It was written by Jeffrey Arnold.
In its help, it says
"This is a similar command to Nicholas Cox's -sortrows-."
In case anyone is confused, please note that that last word
is a typo. Jeffrey presumably meant to refer to my -rowsort-.
Nick
[email protected]
Sebastian F. B�chte
> there exists a user written command called -sortrows- (it requires
> Stata 9 or better). Assuming that you have access to the web from
> within Stata you can download it from ssc by typing -ssc install
> sortrows- in your Stata command window. Usage of sortrows is
> documented in -help sortrows-. For your problem it could be used inthe
> following way: -sortrows v1 v2 v3 v4 v5, replace-
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/