title: Reordering list element in react js
body: <p>I am wondering how to re order a list element. Its like you have a list of an elements <code>li</code> and put the last element in the first place like the index of 10th would be placed in the index of 0</p>
  
  <pre><code>React.render(   &lt;div&gt;
      &lt;li&gt;1&lt;/li&gt;
      &lt;li&gt;2&lt;/li&gt;
      &lt;li&gt;3&lt;/li&gt;
      &lt;li&gt;4&lt;/li&gt; //When an event fires, this item would go up to the first index   &lt;/div&gt;,   document.getElementById('example') );
  </code></pre>