Sorttable ul li get order
<p>My html is like this</p>

<pre><code>&lt;ul&gt;
   &lt;li&gt;...&lt;/li&gt;
   &lt;li&gt;
       &lt;ul&gt;
          &lt;li&gt;...&lt;/li&gt;
       &lt;/ul&gt;
   &lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>This is just a example, a <code>ul</code> can contain many <code>li</code> but the max depth is <code>ul li ul</code> like in example</p>

<p>I am using <a href="http://jqueryui.com/demos/sortable/" rel="nofollow">JqueryUI Sortable</a> to sort this <code>li</code> I want to get the sort order of the <code>li</code> to store it in database so that user dont have to sort each time.</p>

<p>Thank You.</p>
