title: jQuery Sorting a list by span
body: <p>So i have something linke that:</p>
  
  <pre><code>&lt;ul id="list"&gt;
  &lt;li class="item"&gt;
  &lt;a&gt;
  &lt;span class="name&gt; name1 &lt;/span&gt;
  &lt;/a&gt;
  &lt;a&gt;
  &lt;span class="name&gt; name2 &lt;/span&gt;
  &lt;/a&gt;
  &lt;a&gt;
  &lt;span class="name&gt; name3 &lt;/span&gt;
  &lt;/a&gt;
  &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>how can i sort this list by the name alphabeticaly?</p>
  
  <p>kind regards</p>