How do you sort a column that contains multiple tds?

Look at this example:

<table cellspacing="1" class="tablesorter">
    <thead>
        <tr>
            <th colspan="2">first name</th>
            <th>last name</th>
        </tr>
    </thead>
    <tbody>
        <tr>
          <td><input type="checkbox" name="cb_1" /></td>
          <td>peter</td>
          <td>parker</td>
        </tr>
        <tr>
          <td><input type="checkbox" name="cb_2" /></td>
          <td>john</td>
          <td>hood</td>
        </tr>
    </tbody>
</table>

Clicking on the "first name" header should sort on the second cell of
each
row.

Reply via email to