[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
RE: st: sort
The essence of Florence's problem is that two (or more) variables
be sorted together. How would this -egen- function be used
to achieve that?
philippe van kerm
> This query has been answered yesterday, but for the record, let me add
> that this is what _gclsort does. _gclsort is available from the SSC
> archive (ssc install _gclsort).
> sysuse auto
> egen price2 = clsort(price)
> > is there a way to sort just ONE variable without changing the
> > rest of the dataset? i.e. I want to
> > sort EACH variable seperately and leave the rest of the
> > dataset the same...
* For searches and help try:
- RE: st: sort
- From: Richard Williams <Richard.A.Williams.5@ND.edu>