title: Move row to top of table
body: <p>I am wondering if it is possible to move one row from bottom to top of a table. When I use the code I have so far,</p>
  
  <pre><code>dt[nrow(dt)+1,] &lt;- rbind(c("","","1X","1X","1X","1X","1X","1X","1X","1X","1X","1X","1X","1X","1X","1X","1X","1X","2X","6X","3X",""), dt)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/JmjeS.png" rel="nofollow noreferrer">table</a>
  With this code, I get a new row at the bottom of my table. If I change the "+1" to "-22" the row goes to the top of the <a href="https://i.stack.imgur.com/gT5aR.png" rel="nofollow noreferrer">table 2</a>. If I make this change, a row gets deleted off of the bottom of my table. Any help with why this might be happening would be appreciated.</p>