Statalist The Stata Listserver

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

st: sort a list

From   Lia Orfei <>
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?



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

* For searches and help try:

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