Ang. Re: [Gretl-devel] Feature request for sorting of variables

andreas.rosenblad at ltv.se andreas.rosenblad at ltv.se
Thu Oct 4 02:10:58 EDT 2007


cottrell at wfu.edu @ INTERNET skrev 2007-10-03 21:20:11 :

> On Wed, 3 Oct 2007, andreas.rosenblad at 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...



Thanks a lot.

Andreas



More information about the Gretl-devel mailing list