Got the draggable sorting working
Making progress
Reordering and saving tree structure works now.