title: Order elements using index number
body: <p>How can I re-order elements using index number?</p>
  
  <p>For example if I have a list</p>
  
  <pre><code>&lt;ul&gt;
     &lt;li data-name="tree"&gt;&lt;/li&gt;
     &lt;li data-name="park"&gt;&lt;/li&gt;
     &lt;li data-name="house"&gt;&lt;/li&gt;
     &lt;li data-name="fountain"&gt;&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>How can I move 'house' to 1st place using number?
  I can get the zero-based index for a list item by using <code>index()</code>, but I can't move the element to a specific index.</p>
  
  <p>Example:</p>
  
  <pre><code>$("[data-name='house']").moveTo(1);
  </code></pre>