Within my HTML code, I am using the Dojo drag and drop feature to sort attributes and move them to another section. However, I am having trouble figuring out how to sort the sections themselves. Here is the structure that I have created:
<ul accept="section" data-dojo-type="dojo.dnd.Source" class="container dojoDndSource">
<li id="section1" class="dojoDndItem" dndtype="section">
<ul accept="attribute" data-dojo-type="dojo.dnd.Source" class="container dojoDndSource">
<li dndtype="attribute" id="attribute1"></li>
<li dndtype="attribute" id="attribute2"></li>
<li dndtype="attribute" id="attribute3"></li>
</ul>
</li>
<li id="section2" class="dojoDndItem" dndtype="section">
<ul accept="attribute" data-dojo-type="dojo.dnd.Source" class="container dojoDndSource">
<li dndtype="attribute" id="attribute1"></li>
<li dndtype="attribute" id="attribute2"></li>
<li dndtype="attribute" id="attribute3"></li>
</ul>
</li>
</ul>