title: Export HTML table to text or CSV file
body: <p>I have a PHP search page which outputs results to an HTML table.  I am using a jQuery plugin to allow the columns to be sorted by clicking on the column headers.  I would like to allow users to download the search results to a TXT or CSV file, but I would like the sort order to be preserved.  Is there a way to do this?</p>