Z order in runtime

Yes, you would have to change the z order of every component. Changing the order of one component will change at least the order of one other component, since no two components can be on the same “level”. So if you put a component on top (i.e., level “0”), that component on top can no longer be at level 0, it must be changed to a different level.