JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://code.jquery.com/jquery-1.12.3.js"></script>
<script src="https://cdn.datatables.net/1.10.12/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/select/1.2.0/js/dataTables.select.min.js"></script>
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.12/css/jquery.dataTables.min.css">
<body>
<div>
<table id="myDatatable" class="display" cellspacing="0" width="100%">
</table>
</div>
</body>

JavaScript

var data;
function idxOf(key){
			return data["order"].indexOf(key);
		}

data={
  "order": [
    "Name", 
    "Team", 
    "teamAbbrev", 
    "Position", 
    "Opp", 
    "AvgPointsPerGame", 
    "Median", 
    "Last", 
    "predictedScore", 
    "Salary", 
    "Roto URL", 
    "Team URL", 
    "Opp URL"
  ], 
  "records": [
    {
      "AvgPointsPerGame": 26.125, 
      "Last": 36.5, 
      "Median": 28.2, 
      "Name": "Drew Brees", 
      "Opp": "Det", 
      "Opp Notes": " ", 
      "Opp URL": "http://www.espn.com/nfl/team/_/name/Det", 
      "Position": "QB", 
      "Roto URL": "http://www.rotoworld.com/content/playersearch.aspx?searchname=Brees,Drew&sport=nfl", 
      "Salary": 76, 
      "Sel": true, 
      "Team": "NO", 
      "Team URL": "http://www.espn.com/nfl/team/_/name/NO", 
      "predictedScore": 21.7649, 
      "teamAbbrev": "NO"
    }, 
    {
      "AvgPointsPerGame": 25.276999999999997, 
      "Last": 19.04, 
      "Median": 24.64, 
      "Name": "Tom Brady", 
      "Opp": "LA", 
      "Opp Notes": " ", 
      "Opp URL": "http://www.espn.com/nfl/team/_/name/LA", 
      "Position": "QB", 
      "Roto URL": "http://www.rotoworld.com/content/playersearch.aspx?searchname=Brady,Tom&sport=nfl", 
      "Salary": 75, 
      "Sel": true, 
      "Team": "NE", 
      "Team URL": "http://www.espn.com/nfl/team/_/name/NE", 
      "predictedScore": 20.7146, 
      "teamAbbrev": "NE"
    }, 
    {
      "AvgPointsPerGame": 20.636, 
      "Last": 7.5, 
      "Median": 24.6, 
      "Name": "Julio Jones", 
      "Opp": "KC", 
      "Opp Notes": " ", 
      "Opp URL": "http://www.espn.com/nfl/team/_/name/KC", 
      "Position": "WR", 
      "Roto URL": "http://www.rotoworld.com/content/playersearch.aspx?searchname=Jones,Julio&sport=nfl", 
      "Salary": 87, 
      "Sel": true, 
      "Team": "Atl", 
      "Team URL": "http://www.espn.com/nfl/team/_/name/Atl", 
      "predictedScore": 19.5434, 
      "teamAbbrev": "Atl"
    }, 
    {
      "AvgPointsPerGame":...