JSFiddle - React, Tailwind, and code Playground

HTML

<script src="//cdn.datatables.net/1.10.5/js/jquery.dataTables.min.js"></script>
<link rel="stylesheet" href="http://cdn.datatables.net/1.9.4/css/jquery.dataTables.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.8.4/moment.min.js"></script>
<script src="//cdn.datatables.net/plug-ins/f2c75b7247b/sorting/datetime-moment.js"></script>
<table class="testtable">
    <thead>
        <tr>
            <th>Date</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>12-01-2001</td>
        </tr>
        <tr>
            <td>01-01-2015</td>
        </tr>
        <tr>
            <td>01-01-2014</td>
        </tr>
    </tbody>
</table>

JavaScript

$(document).ready(function () {
    $.fn.dataTable.moment('DD-MM-YYYY');
    $('.testtable').dataTable();
});