title: Datatable sorting not working with Select element
body: <p>I have a datatable with two columns one having input box and other select option, and I am trying to filter my table based on the text written in the input box or value selected from the select box.</p>
  
  <p><a href="http://jsfiddle.net/aC4JT/18/" rel="nofollow">This</a> is what I have done so far. But it is not working for my second column.  As shown in the fiddle I would like to write <strong>Edinburgh</strong> in the search text box and want my data table to display only first two rows but it does not seems to be working. I have added the relevant handlers there given below. I need opinion of expert regarding what I am missing there.</p>
  
  <pre><code>$.fn.dataTableExt.afnSortData['dom-text'] = function (oSettings, iColumn) {
  
      var aData = [];
      $('td:eq(' + iColumn + ') input', oSettings.oApi._fnGetTrNodes(oSettings)).each(function () {
          aData.push(this.value);
      });
      return aData;
  };
  
  $.fn.dataTableExt.afnSortData['dom-select'] = function (oSettings, iColumn) {
  
      var aData = [];
      $('select', oSettings.oApi._fnGetTrNodes(oSettings)).each(function () {
          aData.push(this.value);
      });
      return aData;
  };
  </code></pre>
  
  <p>More over I have noticed on strange thing that in <a href="http://jsfiddle.net/aC4JT/19/" rel="nofollow">this</a> fiddle I have not added any handler that will help me sort but still sorting is working. </p>
  
  <ol>
  <li><p>Although according to <a href="https://datatables.net/examples/plug-ins/dom_sort.html" rel="nofollow">this</a> looks like we need some extra code that will filter the datatable for form elements.</p>
  
  <p>2.And if it is working for input boxes without doing any thing then why it is not working for select box?</p></li>
  </ol>
  
  <p>I am totally confused. 
  Update :</p>
  
  <p>Noticed another behaviour that removing first column from my table makes it work for my select as well as shown <a href="http://jsfiddle.net/aC4JT/21/" rel="nofollow">Here</a></p>