Changing the layers of images during animation

Hi everyone! I’m animating my portfolio like this:

3 images in the middle of the screen. Each image should move on top of each other and to the left side and different information pops up for each trigger. However, because of the order of images, when the animation tries to bring everything back to their original places it gets messed up. Does anyone know how to change the order of layers as part of the animation if this makes sense? Thank you!

  1. original layout
  2. click ‘resume’ and a resume pops up. clicking will bring back to the original layout as wanted

    clicking ‘content creation’ or ‘graphic design’ makes everything go to the left side BUT resume is the top layer.

    so when i want to bring everything back to original my resume will pop up on the screen

this is not possible with built in RM features… it would be possible if you only have two images (buttons)

with code this is possible, but you would need some basic coding knowledge.