In order to do drag-drop rearrangement of menus,
you need four things, most of which we already know how to do.
Dragging an item out of a menu.
Dropping an item into a menu.
Connecting the drag with the drop.
Rearranging menu items in response to the operation.
Let's do step 4 first, just to mix things...