title: Sorting divs by an attribute with Jquery?
body: <p>I have this HTML:</p>
  
  <pre><code>​&lt;div indice="1"&gt;first&lt;/div&gt;
  &lt;div indice="3"&gt;third&lt;/div&gt;
  &lt;div indice="2"&gt;second&lt;/div&gt;
  
  &lt;button onclick="organize();"&gt;Sort&lt;/button&gt;
  </code></pre>
  
  <p>I need that when I click in button the same html to be sort asc using the atrributte "indice" and the dom become look like this:</p>
  
  <pre><code>​&lt;div indice="1"&gt;first&lt;/div&gt;
  &lt;div indice="2"&gt;second&lt;/div&gt;
  &lt;div indice="3"&gt;third&lt;/div&gt;
  </code></pre>