Danfrancozola
New Member
- Joined
- Sep 1, 2014
- Messages
- 19
Hello all,
Please help as I am going absolutely crazy. I am doing a world cup comp for charity and need to be able to auto-sort the group stage tables.
They need auto-sorting by points, then goal difference, then goals scored.
Below is an example of what my table looks like:
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]S
[/TD]
[TD]T
[/TD]
[TD]U
[/TD]
[TD]V
[/TD]
[TD]W
[/TD]
[TD]X
[/TD]
[TD]Y
[/TD]
[TD]Z
[/TD]
[TD]AA
[/TD]
[/TR]
[TR]
[TD]9
[/TD]
[TD]Country
[/TD]
[TD]P
[/TD]
[TD]W
[/TD]
[TD]D
[/TD]
[TD]L
[/TD]
[TD]GF
[/TD]
[TD]GA
[/TD]
[TD]GD
[/TD]
[TD]PTS
[/TD]
[/TR]
[TR]
[TD]10
[/TD]
[TD]Russia
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]11
[/TD]
[TD]Egypt
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]12
[/TD]
[TD]Saudi Arabia
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]13
[/TD]
[TD]Uruguay
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I have tried all sorts and I just cant seem to get this right. Obviously the data in the table will be filled in.
Thanks a bunch,
Dan
Please help as I am going absolutely crazy. I am doing a world cup comp for charity and need to be able to auto-sort the group stage tables.
They need auto-sorting by points, then goal difference, then goals scored.
Below is an example of what my table looks like:
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]S
[/TD]
[TD]T
[/TD]
[TD]U
[/TD]
[TD]V
[/TD]
[TD]W
[/TD]
[TD]X
[/TD]
[TD]Y
[/TD]
[TD]Z
[/TD]
[TD]AA
[/TD]
[/TR]
[TR]
[TD]9
[/TD]
[TD]Country
[/TD]
[TD]P
[/TD]
[TD]W
[/TD]
[TD]D
[/TD]
[TD]L
[/TD]
[TD]GF
[/TD]
[TD]GA
[/TD]
[TD]GD
[/TD]
[TD]PTS
[/TD]
[/TR]
[TR]
[TD]10
[/TD]
[TD]Russia
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]11
[/TD]
[TD]Egypt
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]12
[/TD]
[TD]Saudi Arabia
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]13
[/TD]
[TD]Uruguay
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I have tried all sorts and I just cant seem to get this right. Obviously the data in the table will be filled in.
Thanks a bunch,
Dan
Last edited: