Changing Z-index Over Time
You can also make stacking of layers change over time.
To Change Stacking Order Over Time
1. Add the layer to a timeline.
2. Select the keyframe where you want to change the stacking order.
3. In the properties panel, or in the layers panel set the z-index of the layer to change.