C
 3 2
 1 7
 4 1
 1 8
 5 2
 9 8
    C /: 1 { |: C
 4 1
 3 2
 5 2
 1 7
 1 8
 9 8

On Thursday, December 3, 2015, Roger Hui <[email protected]> wrote:

>    ] x=: ? 10 4 $ 100
> 33 44 35 49
> 67 95 56 50
> 35 70 83  6
> 26 73 97 11
> 29 92 71 94
> 81 13 93 64
> 47 51 35 98
> 33 59 52 90
> 62  0 64 29
> 14 30 92 98
>
>    x /: 1{"1 x
> 62  0 64 29
> 81 13 93 64
> 14 30 92 98
> 33 44 35 49
> 47 51 35 98
> 33 59 52 90
> 35 70 83  6
> 26 73 97 11
> 29 92 71 94
> 67 95 56 50
>
>
>
> On Thu, Dec 3, 2015 at 7:10 AM, Alex Giannakopoulos <
> [email protected] <javascript:;>> wrote:
>
> > Even though I've been using J lightly for a quite while, I have not so
> far
> > had cause to use boxing, especially boxed tables.
> > Great feature, if you need it, but I'm struggling a bit to get up to
> speed.
> > Say I have a two column table such as would be generated by
> >
> >    ([;somefunction)"0 i.100
> >
> > How would I sort the table by the second column?
> > Any other help or pointers to relevant docs appreciated!
> >
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>


-- 
Sent from Gmail Mobile
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to