My Setup
[TABLE="width: 311"]
<colgroup><col><col><col><col span="2"></colgroup><tbody>[TR]
[TD]name[/TD]
[TD]COUNT[/TD]
[TD]ATTENDANCE [/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jake[/TD]
[TD="align: right"]11[/TD]
[TD="align: right"]536[/TD]
[TD="align: right"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]sue[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]709[/TD]
[TD="align: right"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]betty[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]357[/TD]
[TD="align: right"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jack[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]1438[/TD]
[TD="align: right"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]trevor[/TD]
[TD="align: right"]11[/TD]
[TD="align: right"]1240[/TD]
[TD="align: right"][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
i am trying to get the ranking based on
first the count, then the attendance,
the highest of the count should be first,
but the lowest of the attendance should be second
in the rank should be
1.jake
2.trevor
3. betty
4.sue
5.jack
[TABLE="width: 311"]
<colgroup><col><col><col><col span="2"></colgroup><tbody>[TR]
[TD]name[/TD]
[TD]COUNT[/TD]
[TD]ATTENDANCE [/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jake[/TD]
[TD="align: right"]11[/TD]
[TD="align: right"]536[/TD]
[TD="align: right"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]sue[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]709[/TD]
[TD="align: right"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]betty[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]357[/TD]
[TD="align: right"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jack[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]1438[/TD]
[TD="align: right"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]trevor[/TD]
[TD="align: right"]11[/TD]
[TD="align: right"]1240[/TD]
[TD="align: right"][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
i am trying to get the ranking based on
first the count, then the attendance,
the highest of the count should be first,
but the lowest of the attendance should be second
in the rank should be
1.jake
2.trevor
3. betty
4.sue
5.jack