title: How to sort a column which contains server-side generated values othr than database values in jQuery Datatables.?
body: <p>I am using <code>jQuery Datatables</code> for one of my page to display data.I am using <code>server-side scripting</code> to display datatables.</p>
  
  <p>In my html I have <strong>8 columns</strong>.5 columns for fetched values and other 3 contains <code>some mathematics calculations with php functions</code> that I am returning in the server side script.Those are not depends on database fields.</p>
  
  <p>I changed $output[] to add my generated values and all are work fine.</p>
  
  <p>What my problem is I need to <code>sort columns that have generated values</code>.But this is not possible because datatables mysql ordering statement makes error because these columns are not in actual mysql table.</p>
  
  <p>So how would I able to do sorting above fields? Do we have any sorting that I can do for those columns without interfering mysql ordering clause(may be sort in client side).</p>
  
  <p>Thanks.</p>