Hello,
Please see the image.
Left side is the regular sequence if I add Distribution with BY and then Variability with BY to a window.
Is there some way to get the sequence as is in the right side?
The solution have to be in JSL and without looping but with using BY option.
Thanks.

Here is a very simple script, showing one way to do this
names default to here(1);
dt = open("$SAMPLE_DATA/big class.jmp");
dis = Distribution(
Continuous Distribution(invisible,
Column( :height ),
Quantiles( 0 ),
Summary Statistics( 0 ),
Horizontal Layout( 1 ),
Vertical( 0 )
),
by( :sex )
);
var = Variability Chart(invisible,
Y( :height ),
X( :age ),
Std Dev Chart( 0 ),
by(:sex)
);
new window("together",
vlb=vlistbox()
);
vlb << append(report(dis[1])[OutlineBox(1)]);
vlb << append(report(var[1])[OutlineBox(1)]);
vlb << append(report(dis[2])[OutlineBox(1)]);
vlb << append(report(var[1])[OutlineBox(1)]);
var << close window;
dis << close window;