On Wed, 3 Oct 2007, andreas.rosenblad(a)ltv.se wrote:
I would appreciate a gretl command where the values of all
variables in a data set is sorted in ascending or descending
order by one of the variables, and one then can save the data
set with the new sorted ordering.
OK, you now have an additional option under the recently-added
"dataset" command. You can say
dataset sortby <varname>
or
dataset dsortby <varname>
to use descending order. There's a corresponding new GUI menu
item /Data/Sort data...
Allin.
--
Allin Cottrell
Department of Economics
Wake Forest University, NC