DynaPDFMBS - reorder pages

Using DynaPDFMBS I create an output document split over (for example) 12 pages

If they are physically arranged like this
ABCD
EFGH
IJKL

The pages come out (for long standing code reasons) in this order:

pg1 = A
pg2 = E
pg3 = I
pg4 = B
pg5 = F
pg6 = J

etc

I have on a number of occaisions tried to change my

For x = ...For y =
loop into

For y = ...For x =

But failed to correct issues which ensued.
So I am wondering if DynaPDFMBS has a way for me to generate in the sequence I currently do, but put the pages in a different order into the finished output?

Eg turn
A
E
I…
into
A
B
C

etc

You can import all pages at once and use MovePage function to move the page to the position you need it to be.

Or you walk over input document and import each page you need in the order you need.

Thanks.
Movepage sounds like the thing I need.