To avoid the problem of other windows layering between the windows of your
stack, you can set the raisewindows to true.
The other half of the question, dunno except after your move, go to the
stack you want to be number 2, then go back to the stack you want to be
number 1. Or set window 2 to pallet
If you have four stack windows open on Mac OS X and three of them are
substacks if you select one of the substacks it will jump to the front of
the other substacks but and you select another it will be in front of that
one but the second one will still be in front of the third. You notice this
more