Am 02.09.20 um 09:45 schrieb Riccardo (Jack) Lucchetti:
On Wed, 2 Sep 2020, Allin Cottrell wrote:
>> A nice little project for someone ;-)
>
> Now done in git.
You spoilsport. :)
While we're at it: it may be useful, at times, to sort on more than
one series. Or at least, I had to do this from time to time. At
present, you can do this by constructing an artificial key series.
Example with the Mroz dataset:
<hansl>
open mroz87
series key = WE * 100 + WA
dataset sortby key
print WE WA --byobs --range=1:32
</hansl>
However, this is neither particularly efficient nor elegant. Would you
think it worthwhile to add a list as a possible argument to "dataset
sortby"? Eg
<pseudo-hansl>
list SORT = WE WA
dataset sortby SORT
</pseudo-hansl>
It's already possible, Jack, according to the help text. And I am pretty
sure I have done this before.
Artur