JSFiddle - React, Tailwind, and code Playground
HTML
<link href="//code.jquery.com/ui/1.11.1/themes/smoothness/jquery-ui.css" rel="stylesheet">
<script src="//code.jquery.com/jquery-1.11.1.js"></script>
<script src="//code.jquery.com/ui/1.11.1/jquery-ui.js"></script>
<table >
<thead>
<tr>
<th>Column one</th>
<th>Column two</th>
</tr>
</thead>
<tbody>
<tr>
<td>One</td>
<td>two</td>
</tr>
<tr >
<td>three</td>
<td>four</td>
</tr>
<tr>
<td>Five</td>
<td>Six</td>
</tr>
</tbody>
</table>
CSS
table {
border:1px solid black;border-spacing: collapse;
border-spacing: 0;
}
td,th {
width: 50px;
height: 25px;
border: 1px solid black;
}
JavaScript
$(function() {
$( "tbody" ).sortable();
});