In this example, SimpleQuery is using the JQuery Plug-in called TableSorter to perform the column sorting. See TableSorter for details on useage.