I'm looking at figuring out a complex (ish) hidden door and I'm going to be using a fair few pistons. A lot of the time I'm going to need to use pistons in different orders.
Example (All sticky pistons)
Opening
Piston 1 pushes Piston 2 behind a block
Piston 2 pushes out a block.
Closing
Piston 2 pulls the block
Piston 1 pulls back Piston 2
There depending if I'm opening or closing the door I need to fire the pistons in a different order. Is there a "recommended" method of doing this in Minecraft?