Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: sort a list


From   Lia Orfei <[email protected]>
To   [email protected]
Subject   st: sort a list
Date   Wed, 18 Jan 2006 16:42:06 +0000

Dear all,
is there anybody who knows how to list variables that are sorted by a variable of my choice?
In practice, I have to do something like this (pure example):

bysort colour: list id names age

and I want to resulting list to be sorted by id say, so within each colour category, I want to sort again id numbers.

Any ideas?

Cheers

Lia

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

*
* 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/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index