title: Table sort by using textExtraction using data-sort-value attribute in td
body: <p>Added the following td. The date value is coming as a format  <strong>01 Aug 1990</strong>. I want to sort that column. But it is not working. How can I properly set the data-sort-value so that it sort in correct way</p>
  
  <pre><code>&lt;td data-sort-value="${info.offDate}" class="${someclass}"&gt;${info.offDate}&lt;/td&gt;
  </code></pre>
  
  <p>I have the following javascript for sorting - </p>
  
  <pre><code>$(function() {
  
  $("#infoListTable").tablesorter({
  
      textExtraction: function(node) {
  
          var attr = $(node).attr('data-sort-value');
          if (typeof attr !== 'undefined' &amp;&amp; attr !== false) {
              return attr;
          }
          return $(node).text(); 
      },headers: {
          dateFormat: 'dd-mm-yyyy',
          6: { sorter:'otherDate' }
  
      } 
  
  });
  
  });
  </code></pre>