title: How to show HTML Elements being sorted through animation
body: <p>Here is my snippet : </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.item {
    display:inline-block;
    width:120px;
    height:120px;
    border:1px solid red;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="listing"&gt;
    &lt;div data-value="5" class="item"&gt;item 5&lt;/div&gt;
    &lt;div data-value="3" class="item"&gt;item 3&lt;/div&gt;
    &lt;div data-value="2" class="item"&gt;item 2&lt;/div&gt;
    &lt;div data-value="1" class="item"&gt;item 1&lt;/div&gt;
    &lt;div data-value="4" class="item"&gt;item 4&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I would like to sort the <code>div</code>s based on the value of the <code>data-value</code> attribute, but I want to show the items being rearranged using an animation. How can I do this?</p>