How to Make Queues Droppable and Sortable

I have multiple of Quee components. User can drag and drop Queues from one component to another component. If the user drop the element within the same component Queues should sort… I am able to do sorting for table and unable to club the functionality of Drag and Drop and sorting for Queues 

I found sorting table @
and drag and drop Queues at

Currently, this is only possible through custom javascript.