From kodeboard, 4 Years ago, written in JavaScript.
Embed
  1. //sort my reservations table by the 4th column in descending order
  2. //columns start at 0
  3. $('#reservations').dataTable({
  4.     "aaSorting": [[ 3, "desc" ]]
  5. });    

You must login to reply or comment on this code.