This is not in fact easy and there’s no way to do it in vanilla Bubble. You can do it (in a very complex and annoying way) with List Shifter (and you can learn how by reading my amusing little tutorial/story in this thread), but it’s very tweaky.
Which I why I built a dedicated Action for this in my Floppy element. See: