title: Why can't datatables display data in descending order by default?
body: <p>In addition to the normal sorting capability in datatable, I want to display my datatable in descending order (order by id from mysql result) by default. However without any error, it keeps displaying the datatable in ascending order.</p>
  
  <p>Here are what I have done so far:
  JS: </p>
  
  <pre><code>$('#example').dataTable({
      "aaSorting": [[0, "desc"]]
  });
  </code></pre>
  
  <p>and my serverside:
  PHP:</p>
  
  <pre><code>SELECT s . * , c.name AS cls, sec.name AS sect
                      FROM `student` s
                      INNER JOIN cls c 
                      ON s.cls = c.id
                      INNER JOIN sect sec 
                      ON s.sect = sec.id 
                      ORDER BY s.id DESC
  </code></pre>
  
  <p>HTML:</p>
  
  <pre><code>&lt;table class="table table-striped 
   table-bordered bootstrap-datatable datatable" id="example"&gt;
  //table data here
  &lt;/table&gt;
  </code></pre>
  
  <p>Any suggestion and help is greatly appreciated.</p>