我正在使用具有结构的表
<table cellspacing="0" cellpadding="3" rules="cols" border="1" id="ctl00_Content_GrdCustomer" style="color:Black;border-color:#999999;width:640px;border-collapse:collapse;">
<tr style="color:White;background-color:Black;font-weight:bold;">
<th scope="col">Something</th>
<th scope="col">Client Name</th>
<th scope="col">Address</th>
<th scope="col">Place</th>
<th scope="col">City</th>
<th scope="col">Country</th>
</tr>
<tr class="home-history-grid-row customerData">
<td align="center" style="width:50px;"><!--Checkbox Goes Here--></td>
<td align="center">Raju Varghese</td>
<td align="center"> </td>
<td align="center"> </td>
<td align="center"> </td>
<td align="center">Country4</td>
</tr>
<tr class="home-history-grid-row customerData">
<td align="center" style="width:50px;"><!--Checkbox Goes Here--></td>
<td align="center">Joseph K. J</td>
<td align="center"> </td>
<td align="center"> </td>
<td align="center"> </td>
<td align="center">Country4</td>
</tr>
</table>
我需要根据标题为“客户名称”的“th”对表格进行排序。浏览了这么多链接,所有链接都根据标题点击进行排序,我不太了解 javascript。请帮助