Sort rows and columns using Tablesorter?

Sort rows and columns using Tablesorter?


Is is possible to sort data in rows?
I need a script that can sort this kind of table:
<table>
<tr>
<td>one</td>
<td>two</td>
<td>three</td>
<td>four</td>
<td>five</td>
<td>six</td>
<td>seven</td>
<td>eight</td>
<td>nine</td>
<td>ten</td>
</tr>
</table>
into:
<table>
<tr>
<td>eight</td>
<td>five</td>
<td>four</td>
<td>nine</td>
<td>one</td>
<td>seven</td>
<td>six</td>
<td>ten</td>
<td>three</td>
<td>two</td>
</tr>
</table>
The script should be able to continue on the next row if the table has
several rows (i.e. it should ignore <tr>s).
Thanks in advance!
// Carl-Fredrik Herö



































    • Topic Participants

    • kalle