title: jQuery DataTables - sorting does not work when date is also a link
body: <p>I notices that UK date sorting does not work when a date is also a link.</p>
  
  <p>Example 1. (<a href="http://dl.dropbox.com/u/17683975/blog/DataTables%20-%20Sort%20by%20UK%20Date%20-%20without%20HREF/index.html" rel="noreferrer">demo</a>)</p>
  
  <p><strong>Here the date is pure test. Works complete fine.</strong> </p>
  
  <pre><code>       &lt;tr&gt;
              &lt;td&gt;01/01/01&lt;/td&gt;
              &lt;td&gt;Tarik&lt;/td&gt;
              &lt;td&gt;Rashad Kidd&lt;/td&gt;
              &lt;td&gt;1 34 238 6239-0509&lt;/td&gt;
          &lt;/tr&gt;
  </code></pre>
  
  <p>Example 2. (<a href="http://dl.dropbox.com/u/17683975/blog/DataTables%20-%20Sort%20by%20UK%20Date%20-%20with%20HREF/index.html" rel="noreferrer">demo</a>)</p>
  
  <p><strong>Here the date is also a link. Does not work at all. Not throwing any errors though.</strong> </p>
  
  <pre><code>         &lt;tr&gt;
              &lt;td&gt;&lt;a href="#"&gt;01/01/01&lt;/a&gt;&lt;/td&gt;
              &lt;td&gt;Tarik&lt;/td&gt;
              &lt;td&gt;Rashad Kidd&lt;/td&gt;
              &lt;td&gt;1 34 238 6239-0509&lt;/td&gt;
          &lt;/tr&gt;
  </code></pre>
  
  <p><strong>I also noticed that the sorting does work on any other elements even if they are a link. Only the date as a link are the issue.</strong></p>
  
  <p>I'm using the following JS code:</p>
  
  <pre><code>// UK Date Sorting
  jQuery.fn.dataTableExt.oSort['uk_date-asc']  = function(a,b) {
      var ukDatea = a.split('/');
      var ukDateb = b.split('/');
  
      var x = (ukDatea[2] + ukDatea[1] + ukDatea[0]) * 1;
      var y = (ukDateb[2] + ukDateb[1] + ukDateb[0]) * 1;
  
      return ((x &lt; y) ? -1 : ((x &gt; y) ?  1 : 0));
  };
  
  jQuery.fn.dataTableExt.oSort['uk_date-desc'] = function(a,b) {
      var ukDatea = a.split('/');
      var ukDateb = b.split('/');
  
      var x = (ukDatea[2] + ukDatea[1] + ukDatea[0]) * 1;
      var y = (ukDateb[2] + ukDateb[1] + ukDateb[0]) * 1;
  
      return ((x &lt; y) ? 1 : ((x &gt; y) ?  -1 : 0));
  }
  
  
  $(document).ready(function() {
  
      $('#table').dataTable( {
          "bPaginate": true,
          "bLengthChange": true,
          "bFilter": true,
          "aoColumnDefs" : [
              { "aTargets" : ["uk-date-column"] , "sType" : "uk_date"}
          ]
      });
  
  });
  </code></pre>
  
  <p>Any help much appreciated. </p>