Yes:
a.{~97+|:sep 120 to 130
bbbbbbbbbbb
ccccccccccd
abcdefghija
/:~a.{~97+|:sep 120 to 130
abcdefghija
bbbbbbbbbbb
ccccccccccd
Thanks,
--
Raul
On Sun, Mar 13, 2022 at 8:51 PM 'Skip Cave' via Programming
<[email protected]> 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