Try the jQuery tablesorter plugin.
When the document loads you can sort the table by specifying the column index to sort on (and it allows sorting by multiple columns):
$(document).ready(function()
{
$("#myTable").tablesorter( {sortList: [[0,0], [1,0]]} );
}
);