Hi,
grunt> describe c
c: {group: int,a: {(f2: int,f3: int)}}
grunt> dump c
(1,{(1,3),(2,4),(3,2),(4,1)})
grunt> d = foreach c {
a1 = order a by f3 desc;
generate group, a1;
}
grunt> dump d
(1,{(2,4),(1,3),(3,2),(4,1)})
Cheers,
--
Gianmarco
On Thu, Apr 12, 2012 at 16:15, Roberto Maestre <
[email protected]> wrote:
> Hi!
> I have this data :
>
> (1,{(1,3),(2,4),(3,2),(4,1)})
>
> so ... can i order the second column by the second field ? .. getting this
> result:
>
> (1,{(2,4),(1,3),(3,2),(4,1)})
>
> Thank you in advanced.
> Best regards.
>