I wonder if you've tried any existing plugins (plugins.jquery.com) in the 'Tables' category?
http://plugins.jquery.com/project/Plugins/category/54 Here are a couple that jump out as worth looking into: http://plugins.jquery.com/project/DataTables http://plugins.jquery.com/project/tablesorter If they don't suit your needs exactly, there's likely some code there to give you a good starting point. - Richard On Thu, Dec 4, 2008 at 6:02 PM, pantagruel <[EMAIL PROTECTED]>wrote: > > Hi, > > I would like to sort a table a number of table rows by values inside > hidden form elements inside cells of the table. These form elements > can represent different 'datatypes' (I put datatypes in quotes because > the types my application defines aren't necessarily always the classic > types one might expect), the first case that I need to sort on is > basically datetime values. > > Anyone can give some pseudo code to do this with jquery > > Thanks