title: How to get order by date descending order in codeigniter
body: <p>I want to show timestamp descending order, but my query is not working, here is my code:</p>
  
  <pre><code> $this-&gt;db-&gt;order_by("DATE(field_name)", "DESC");
  </code></pre>
  
  <p>I am getting this, but when I display in jquery datatable, it became ascending order, how to solve this?</p>