title: jQuery DataTables sort by checkbox with n columns
body: <p>I'm using the jQuery plugin DataTables to sort tables throughout my site. There are several tables which utilize a check-all checkbox in the header, and a checkbox in each row. Looking at the documentation and plugins, it seems the best course of action is to utilize this plugin: <a href="http://www.datatables.net/plug-ins/sorting/custom-data-source/dom-checkbox" rel="nofollow">http://www.datatables.net/plug-ins/sorting/custom-data-source/dom-checkbox</a></p>
  
  <p>To implement, it requires the columns option to be used:</p>
  
  <pre><code>$('.dt-check').dataTable( {
      "columns": [
          { "orderDataType": "dom-checkbox" },
          null,
          null,
          null
      ]
  });
  </code></pre>
  
  <p>My problem is that the numerous tables have different counts of columns, meaning I'd need an additional script for every single different table. Is there a way to implement this where I can sort by the first column, regardless of how many columns there are?</p>