For sure there another ways to do this, but what in my mind right now is like this:
Add global variable.
on start of layout set global variable to choose(1,2,3,4,5)
global variable = 1 --- set sprite 1 Y to x position - set sprite 2 Y to x position - set sprite 3 Y to x position
trigger once
global variable = 2 --- set sprite 1 Y to x position - set sprite 2 Y to x position - set sprite 3 Y to x position
trigger once
Etc...