Example: quiz answers
Search results with tag "Gsort"
Title stata.com sort — Sort data
www.stata.comSometimes, you may want to order a dataset by descending sequence of something. Perhaps we wish to obtain a list of the five cars achieving the best mileage rating. The sort command orders the data only into ascending sequences. Another command, gsort, orders the data in ascending or descending sequences; see[D] gsort. You can also create the ...
gsort — Ascending and descending sort - Stata
www.stata.comgsort is almost a plug-compatible replacement for sort, except that you cannot specify a general varlist with gsort. For instance, sort alpha-gamma means to sort the data in ascending order of alpha, within equal values of alpha; sort on the next variable in the dataset (presumably beta),