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

st: sorting with a key

From   "Ashim Kapoor" <>
Subject   st: sorting with a key
Date   Fri, 12 Sep 2008 14:30:56 +0530

Hi again guys!

I wish to say 2 things. The ado file which I posted earlier is much
faster than looping manually in stata.

Also the original sortrows has some checks and balances which I
removed to clarify the main programming goal in my mind plus I only
started doing MATA yesterday.

I want to make one improvement. Sortrows allows me to say


I want to say keysortrows(var*), key(k*)

How can I make this improvement ? Please give me a hint.

Thank you,
*   For searches and help try:

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