Linked Sortables

Linked Sortables


I am working on making list that has grouped items. The items would
move as a group, but you would also be allowed to put one item/group
in the middle of another group. For example, if the list had 4 items
(1,2,3,4), 2 and 3 would be linked. So if you tried to move 2, 3
would go with it. If you tried to move 3, 2 would go with it. But,
you could also move 4 in between 2 and 3. (If you then moved 2-3,
they would snap back together, and 4 would go either before or after
the group).
Hard to describe, but even harder to code...