title: JQuery edit DataTable Sort event
body: <p>Is it possible to edit the sort event in <code>jquery.dataTable</code>?
  I want to change the color of table rows, when I sort a column, while they're already filtered by a search input.</p>
  
  <pre><code>$('.results').dataTable({
      "bSort":true, //this one
      "aaSorting": [],
      "bFilter":false,
      "paging":false,
      "bPaginate":false,
      "bInfo":false
  });
  </code></pre>
  
  <p><strong>EDIT</strong></p>
  
  <p>My working code:</p>
  
  <pre><code>$('.results').dataTable({
      "bSort":true,
      "aaSorting": [],
      "bFilter":false,
      "bPaginate":false,
      "bInfo":false,
      "fnDrawCallback": function() {
          if(this.fnSettings().bSorted)
              console.log("Sort fired");
      }
  });
  </code></pre>
  
  <p>PS: added this.fnSettings().bSorted to detect what event is fired paging, filtering, sorting, etc.</p>