Your <"0@>:@[EMAIL PROTECTED] is not conform the specs: > [EMAIL PROTECTED]@t2 t > 1 3 ccc 5 5 > 2 2 bbb 2 1 > 2 6 fff 100 1 > 3 4 ddd 22 0.987 > 3 5 eee 1 0.987 > 4 7 ggg 20 0.4 > 5 1 aaa 10 0.2
R. E. Boss -----Oorspronkelijk bericht----- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Brian Schott Verzonden: maandag 8 mei 2006 20:06 Aan: Programming forum Onderwerp: RE: [Jprogramming] Re: Rank and Sort on a Specific Column Another approach uses sort without transposes t1=:<;._2@:(,&' ');._2 (,.~<"0@>:@[EMAIL PROTECTED])(\:".@>@{:"1) t1 t NB. almost the same result +-+-+---+---+-----+ |1|3|ccc|5 |5 | +-+-+---+---+-----+ |2|2|bbb|2 |1 | +-+-+---+---+-----+ |3|6|fff|100|1 | +-+-+---+---+-----+ |4|4|ddd|22 |0.987| +-+-+---+---+-----+ |5|5|eee|1 |0.987| +-+-+---+---+-----+ |6|7|ggg|20 |0.4 | +-+-+---+---+-----+ |7|1|aaa|10 |0.2 | +-+-+---+---+-----+ (B=) ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
