If memory serves, it's cascaded as per window access order. So if you've out-of-order'd the windows, it'll not cascade nicely.
That being said, you could make a script using mIRC's /window command to minimise them all, re-open them in the order you want, then cascade.