Deconstruct wall layers in order

This looks like related to this other topic.

Element Parts Geometry // Part Ordering - Rhino.Inside / Revit - McNeel Forum