Sorting Jquery Tab Panel
<p>I have a tab panel. </p>

<p>It can add tabs dynamically by clicking the <code>add tab</code> button. </p>

<p>A typical use case scenario will be this: </p>

<ul>
<li>I have multiple tabs open Tab-1, Tab2, Tab-3, and Tab-4 in the panel </li>
<li>and remove some of them Tab-2 and Tab-3 from the panel by closing the tabs. </li>
</ul>

<p>This will leave Tab-1 and Tab-4 in the panel. </p>

<p>Now, if i try to add new tabs, order in which the tabs are is Tab-1, Tab-4, Tab-2, Tab-3.</p>

<p>I want to sort the panel in jquery and make it Tab-1, Tab-2, Tab-3, and Tab-4</p>

<p>Please Help!!</p>
