I'm building an upload form for user to add images to a page. I would like for the user to change the image order after they add the images. Basically how the image field in the backend works. So users can drag and drop the image order.
The problem is that I don't know how to rearrange the data of my image field based on the order a user submits?