|
Size: 565
Comment:
|
Size: 589
Comment: Fix capitalization
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| ## page was renamed from Stata/Gsort | |
| Line 3: | Line 4: |
| The '''`gsort`''' command is an extended [[Stata/Sort|sort]] command. | '''`-gsort-`''' is an extended [[Stata/Sort|-sort-]]. |
| Line 25: | Line 26: |
| [[https://www.stata.com/manuals/dgsort.pdf|Stata manual for gsort]] | [[https://www.stata.com/manuals/dgsort.pdf|Stata manual for -gsort-]] |
Stata Gsort
-gsort- is an extended -sort-.
Contents
Usage
gsort foo +bar -baz
If a key variable is specified without a prefix or with a plus sign (+) prefix, then cases are sorted in ascending order for that variable. If it is specified with a minus sign (-) prefix, cases are instead sorted in descending order for that variable.
