title: Yajra data tables order by column
body: <p>I'm using yajra/laravel-datatables plugin to get create datatables in laravel. This is my code.</p>
  
  <pre><code>$data = MyModel::latest()
                  -&gt;where('subject', 3)
                  -&gt;get();
  
  return Datatables::of($data)-&gt;make(true);
  </code></pre>
  
  <p>This is my js code</p>
  
  <pre><code>var table = $('#empTable').DataTable({
          processing: true,
          serverSide: true,
          serverMethod: 'post',
          ajax: "{{ url('my url') }}",
          columns: [
              {data: 'reference_no', name: 'reference_no'}
          ]
      });
  </code></pre>
  
  <p>But unfortunately data is not sorted and I'm not getting latest data first ('id' 'desc'). It would be a great help if someone has a solution</p>