I'm creating a plugin - is there a code format for wordpress to make elements drag and drop?

I'm hoping you can help me... I'm creating a plugin - is there a code format for wordpress to make elements drag and drop? For instance, I have a place where in the admin of the plugin the admin can create a menu of sorts... I want them to be able to drag and drop the elements of the menu so that they can re-order it after creating it. I'm thinking there must be standard wordpress code to do this... can you help please?

Also, the menu element has multiple lines, so I would like it to collapse into one - exactly how wordpress menu creation works. If you could help point me to a shortcut, I would greatly appreciate it.