Sorting row without jquery sorting utilities but using jquery.

Sorting row without jquery sorting utilities but using jquery.


I have a page that have a table with some rows...
 
Es. :
 
<table ID="table">
<tr ID="5"><td>5</td></tr>
<tr ID="11"><td>5</td></tr>
<tr ID="27"><td>5</td></tr>
<tr ID="2"><td>5</td></tr>
<tr ID="16"><td>5</td></tr>
</table>
 
by some function and process (i dont explain all to gain time) i get to the page (via AJAX) a new ID order (16,2,27,5,11)
 
Now i want to RE-order the row of the table following the ID array. How can i do this using jquery? I also have possibility to use tablednd plugin. I think maybe it's very simple to do what i posted but i use jquery from 1 week.