How can I know the position of a specific element
<p>I have the following <code>HTML</code></p>

<p><strong>HTML</strong></p>

<pre><code>&lt;ul id="sortable" class="ui-sortable"&gt;
    &lt;li id="369833" class="ui-state-default"&gt;
    &lt;li id="372915" class="ui-state-default"&gt;
    &lt;li id="276520" class="ui-state-default" style=""&gt;
    &lt;li id="373229" class="ui-state-default"&gt;
    &lt;li id="373231" class="ui-state-default"&gt;
    &lt;li id="373253" class="ui-state-default"&gt;
&lt;/ul&gt;
</code></pre>

<p>I can sort my <code>&lt;li&gt;</code> elements but I need know the position of a specific <code>&lt;li&gt;</code> that I sort. </p>

<p><strong>Exemple</strong></p>

<p>If I put in my console <code>$("#sortable").find("li").size()</code>, I have the return of the numbers of <code>&lt;li&gt;</code> are in my <code>&lt;ul&gt;</code>, 6 in this case. But how can I know the position of a specific <code>&lt;li&gt;</code> like, the <code>&lt;li&gt;</code> with the <code>id</code> 373231, where this <code>&lt;li&gt;</code> are inside my <code>&lt;ul&gt;</code> ? The return that I want is the number 5, because he is the fifth <code>&lt;li&gt;</code> element in my <code>&lt;ul&gt;</code> </p>

<p><strong>UPdate</strong></p>

<p>My function</p>

<pre><code>$(function () {
    $("#sortable").sortable({
        stop: function (event, ui) {
            debugger;

            // Getting a WRONG Position
            alert($(this).index());
        }
    });

    $("#sortable").on("sortstop", function (event, ui) {       

        // Getting a WRONG Position                         
        alert($(this).index());
    });

    $("#sortable").disableSelection();
});
</code></pre>
