Stallone problem

hey,
i’m seeing something strange when using Stallone. from the help patch, i gather that the pin sort mode works like this:

but, have a look at my patch. to explain:
i’ve a spread of 3 values in Input 1, then a single value in Input 2. Input Sort set to Pin, single output and a final Spread Count of 4.
shouldn’t i get a spread of
input1-1
input1-2
input1-3
input2-1
as a result? instead, i get
input1-1
input2-1
input1-2
input2-1
with output sort slice, and
input1-1
input1-2
input2-1
input2-1
with output sort pin.

if i set the spread count to 6, i get
input1-1
input1-2
input1-3
input2-1
input2-1
input2-1,
but that’s not what i want.
i guess i don’t understand stallone very well. what is the logic that’s working here? in particular:

  • why does the first input pin not get exhausted of all slices before moving onto the other one?
  • ok, so i have max(3,1)2 = 32 = 6 and yeah, if i set spread count to 6, i get what i described. but what is the logic with lower spread counts?

ps. i know in this simple case i can use Cons (Spreads), but i’d like to get to know mr.Stallone a little better :)

stallone_problem.v4p (3.6 kB)