title: sort on date column gridview
body: <p>I got a gridview which auto generates columns. One of the columns is a date field.
  Somehow, i cant sort the date field. It's being interpreted as a string.</p>
  
  <p>The data comes out a database. The datatype there is set on datetime.</p>
  
  <p>This is the code in the aspx file:</p>
  
  <pre><code>&lt;asp:BoundField DataField="date" HeaderText="date" SortExpression="date" DataFormatString="{0:dd/MM/yyyy}" HtmlEncode="false"/&gt;
  </code></pre>
  
  <p>What am i doing wrong here?</p>