Reordering Lists or Repeating Group Elements

I feel like this is something that is really simple and is a must have. I have for example a multifile uploader and its data is displayed in a repeating group. Surely there has to be a much simpler way to rearrange them. For example right niow the list is saved on a custom state, but lets say i want to reorder the images. For example image 3 to be in image 5’s spot and image 5 be in image 3’s spot. Simple reordering of a list is so complicated to do. Things like uploading and edited product images in my app is now a challenge as I want similar functionality as shopify or any other platform. Maybe im missing something and someone can help but this really needs to be implemented.