Yes.  Sort sorts items which are rows in this case.

if you didn't transpose, the rows would already be sorted.




On Sunday, March 13, 2022, 08:51:22 p.m. EDT, 'Skip Cave' via Programming 
<programm...@jsoftware.com> wrote: 





Is this how sort is supposed to work?

sep=:10#.^:_1]


|:sep 120 to 130

1 1 1 1 1 1 1 1 1 1 1

2 2 2 2 2 2 2 2 2 2 3

0 1 2 3 4 5 6 7 8 9 0


/:~|:sep 120 to 130

0 1 2 3 4 5 6 7 8 9 0

1 1 1 1 1 1 1 1 1 1 1

2 2 2 2 2 2 2 2 2 2 3

Skip Cave
Cave Consulting LLC
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to