You can use the Drag and Drop widget from the Marketplace.
It’s best to download the example project from the documentation page and look at how it works.
Robert’s suggestion is the Mendix-marketplace widget. Sounds very good. There is also https://marketplace.mendix.com/link/component/116648/Aiden/React-Drag/Drop and https://marketplace.mendix.com/link/component/116315/Aiden/Native-Draggable-List, both built by Aiden (formerly Itvisors). Would love it of you tried all three and let us know which you like best and why.