jQuery UI provides a set of mouse-based interactions as building blocks for rich interfaces and complex widgets. These interactions enhance the way we interact with the existing HTML DOM elements.
Enable a group of DOM elements to be sortable. Click on and drag an element to a new spot within the list, and the other items will adjust to fit. By default, sortable items share draggable properties.
API Documentation - http://api.jqueryui.com/sortable/
Video by - Tanmay Sakpal
Simple Snippets Channel link - https://www.youtube.com/simplesnippets