Right click on the “Position” variable and click “Separate Dimensions.”
You can animate the Y separately from the X, so if you have 50 images you can set a keyframe at the base line, then set another keyframe in the future at whatever height you want them to go to, and can stagger the timing by moving the keyframes.
If you don’t want the time to move, you could stagger the layers by:
Trim the layers to just the keyframed height change
Selecting all the layers
right-click and choose keyframe assistant>Sequence layers
extend all the layers so that they keyframes remain where they are but the images remain on screen before/after the keyframes as desired.
then the images will do a wave.
There are some free plugins that can help do this easier. Try MisterHorse.TV.
Or, you can write an expression and copy-paste it into each image. The expression would go in the Y variable. Try: wiggle (5,1);
This will go between negative 5 and 5, at a rate of 1 per second. You can mess with the numbers and come up with a pattern you like.
You mentioned some trigonometry or SIN equations but I have never done that, so I can’t help there!