JSFiddle - React, Tailwind, and code Playground

HTML

<table>
    <tr>
        <td>
            <table>
                <thead>
                    <tr>
                        <th>Index</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>1</td>
                    </tr>
                    <tr>
                        <td>2</td>
                    </tr>
                </tbody>
            </table>
        </td>
        <td >
            <table>
                <thead>
                    <tr>
                        <th>column1</th>
                        <th>column2</th>
                    </tr>
                </thead>
                <tbody  id="sortTable">
                    <tr>
                        <td>cell 1-1</td>
                        <td>cell 1-2</td>
                    </tr>
                    <tr>
                        <td>cell 2-1</td>
                        <td>cell 2-2</td>
                    </tr>
                </tbody>
            </table>
        </td>
    </tr>
</table>

JavaScript

$('#sortTable').sortable({
	onDrop : function($item, container, _super){
  	alert('!');
  }
});