Working example. Simply iterate through a list containing the new order (which, presumably you read from the DB), building the new table. Then set the table html() to the new table html.
| label 1 |
Some complex control |
| label 2 |
Some complex control |
| label 3 |
Some complex control |