Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 72798

especial sort

$
0
0
Hello,
My final dta file is of the following default format (sorted alphabetically by Metro Name).

Metro Name Variable1 Variable2
Metro1 ..... ....
Metro2 ..... ....
Metro3 .... ....
Metro4_Nation .... ...
Metro5 ... ...
Metro6 ... ....

I need to do a special sort whereby Metro4_Nation is moved to the top
(before Metro1) and rest of the Metros are kept in the same order. Any way to do this? Looks like "sort" or
"gsort" won't work here.

Thanks,
Umair





Viewing all articles
Browse latest Browse all 72798

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>