JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/jquery.dataTables.js"></script>
<link rel="stylesheet" href="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/css/jquery.dataTables.css">
<table>
<thead>
<tr>
<th>Column Heading</th>
</tr>
</thead>
<tbody>
<tr>
<td>A</td>
</tr>
<tr>
<td>B</td>
</tr>
<tr>
<td>C</td>
</tr>
</tbody>
</table>
JavaScript
$(document).ready( function() {
$('table').dataTable( {
"aaSorting": [],
"aoColumns": [
{ "asSorting": [ "desc", "asc" ] }
],
fnInitComplete: function (oSettings, json) {
$('table').find('th:first').addClass('sorting_asc');
}
} );
} );
//$(document).ready(function () {
// $('table').dataTable({
// "aaSorting": []
// });
//});