I didn't use foreach ordered, just foreach.
And yes you don't have to use families, just put all your wall sprites in different animation frame of the same object, do the same for their collision mask (dummyshade), but respect the same order.
Set animation speed to 0 for both
Then you just have to place your walls and change the "initial frame" setting.
Then on start of layout you just have to spawn the collision mask and set it to the right frame (you'd have to use a foreach)