I want to implement a table sort much like this one:
https://codepen.io/ryangjchandler/pen/WNQQKeR
I put the JS in it's own file and link it but nothing works
Here is the HTML
```
<div class="card-body">
<div class="table-responsive" x-data="data()" class="p-4">
<table class="table table-striped">
</table></div></div>...