So we go forward through the first part then backward through the next; not the only backward part.

If order is important, I wonder if an explanatory comment would help; I can't help but wonder if I'm meant to be thinking of this as a pair of stacks or something. No doubt it'll become clearer as I keep looking.