title: How to sort both strings and dates with tablesorter jquery plugin?
body: <p>I've got some trouble to deal with when it comes to sort some datas in my table (string datas).
  I take dates from my database, and format them like this : </p>
  
  <pre><code>    $change['ProposedDate'] = date('d/m/Y',strtotime($r['ProposedDate']));
  </code></pre>
  
  <p>(note that I also tried : </p>
  
  <pre><code>    $change['ProposedDate'] = (string)date('d/m/Y',strtotime($r['ProposedDate']));
  </code></pre>
  
  <p>)</p>
  
  <p>and I use this to transform into "None"</p>
  
  <pre><code>if($change['ProposedDate'] == "30/11/-0001")
  {
      $change['ProposedDate'] ="None";
  }
  </code></pre>
  
  <p>The table is like this (after PHP transformed $c['ProposedDate'] into "XX/YY/ZZZZ" in the HTML source code):</p>
  
  <pre><code>&lt;table&gt;
   &lt;thead&gt;
    &lt;tr&gt;
     &lt;th&gt; ID &lt;/th&gt;
     &lt;th&gt; Proposed Date&lt;/th&gt;
     &lt;th&gt; Suggested Date&lt;/th&gt;
    &lt;/tr&gt;
   &lt;/thead&gt;
   &lt;tbody&gt;
    &lt;tr&gt;
     &lt;td&gt;1&lt;/td&gt;
     &lt;td&gt;01/10/2014&lt;/td&gt;
     &lt;td&gt;None&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
     &lt;td&gt;2&lt;/td&gt;
     &lt;td&gt;14/10/2014&lt;/td&gt;
     &lt;td&gt;10/12/2014&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
     &lt;td&gt;3&lt;/td&gt;
     &lt;td&gt;None&lt;/td&gt;
     &lt;td&gt;09/09/2014&lt;/td&gt;
    &lt;/tr&gt;
   &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>The thing I can't understand, is that I'm able to sort strings such as "14-0214-98","13-0101-01" and "14-0102-40" , or "Current", "Waiting", "New" and "Submitted". But I can't sort dates. I've "None" between two lines containing dates. I tried many solutions, such as using empty strings "" to replace "None", or using "a" to replace "None", but nothing worked.</p>
  
  <p>Does anyone has any idea to get rid of this problem ?</p>
  
  <p>NB : It's not any problem for me to transform dates into strings, I'll transform back them later anyway (to transform "None" to "30/11/-0001" for example). So if you have a solution working with string, I'll take it !</p>
  
  <p>Thanks people, i'm really desesperate :(</p>