title: Datatable sorting based on radio buttons and checkbox
body: <p>I am using JQuery datatables and, there is a require to sort two columns which has radio button and checkbox. Datatables sort on the basis of values , so i am not able to sort on checkbox and radio button checked and unchecked values.</p>
  
  <p>hbs</p>
  
  <pre><code>&lt;table id="team-members-data"&gt;
      &lt;thead&gt;
      &lt;tr&gt;
          &lt;th&gt;{{Name}}&lt;/th&gt;
          &lt;th&gt;{{Age}}&lt;/th&gt;
          &lt;th&gt;{{RadioButton Column}}&lt;/th&gt;
          &lt;th&gt;{{Checkbox column}}&lt;/th&gt;
      &lt;/tr&gt;
      &lt;/thead&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>js file</p>
  
  <pre><code>var teamMembers = $('#team-members-data').DataTable({
      "processing": true,
      "order": [[ 3, 'asc' ], [ 2, 'asc' ],[ 1, 'asc' ], [ 0, 'asc' ]]
  });
  </code></pre>
  
  <p>I am trying to get sorting on the basis of checkbox and radio button as well. Let me know , how it can be done.</p>