如下表格点击表头,进行相应排序,请给相应代码,最好不要是连接,谢谢
<table border= "1 " id= "tblSort ">
<tr>
<th onclick= "sortTable( 'tblSort ', 0) "
style= "cursor:pointer "> Last Name </th>
<th onclick= "sortTable( 'tblSort ', 1) "
style= "cursor:pointer "> First Name </th>
<th onclick= "sortTable( 'tblSort ', 2, 'date ') "
style= "cursor:pointer "> Birthday </th>
<th onclick= "sortTable( 'tblSort ', 3, 'int ') "
style= "cursor:pointer "> Siblings </th>
<th onclick= "sortTable( 'tblSort ', 4) "
style= "cursor:pointer "> 城市 </th>
</tr>
<tr>
<td> Smith </td>
<td> John </td>
<td> 7/12/1978 </td>
<td> 2 </td>
<td> 山东 </td>
</tr>
<tr>