Just to say that, in the end, I went ahead and made my own simple drag-drop library. And, prompted by a discusion in dev chat, I just shared it on MDL-51803. That may be useful to some people. I was quite pleased with how it worked out.
General developer forum
Does anyone understand Moodle's drag and drop JavaScript?
This discussion has been locked so you can no longer reply to it.