jquery Multiselect
<p>how to sort jquery multiselect based on  selected values???    I would like to show selected option first in jquery multiselect, followed by all unselected vales.</p>

<pre><code>    like below multiselect  having two values selected

    &lt;select id="the-select"&gt;
        &lt;option value="1"&gt;First option&lt;/option&gt; \\selected
        &lt;option value="2"&gt;Second option&lt;/option&gt;
    &lt;option value="3"&gt;Third option&lt;/option&gt;\\selected
    &lt;/select&gt;


   but i need to show the multiselect as its showing below

    &lt;select id="the-select"&gt;
        &lt;option value="1"&gt;First option&lt;/option&gt; \\selected   
    &lt;option value="3"&gt;Third option&lt;/option&gt;\\selected
     &lt;option value="2"&gt;Second option&lt;/option&gt;
    &lt;/select&gt;

    Thanks
</code></pre>
