Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: "sort" over different variables


From   <Sim.Oertel@t-online.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: "sort" over different variables
Date   Mon, 24 Aug 2009 21:00:04 +0200

Dear All,
I have a quick (and probably simple) question: I would like to "sort" my
dataset over several variables. At the moment my dataset looks like this
(very simplified example):

Var1   Var2   Var3    Var4 
1000   3000   2000    500

And should look like this:

Var1    Var2    Var3    Var4
500      1000    2000    3000    

Thank you for any advice and help.
Simon

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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