More sorting bug fixes.  Sort by Totalrank, don't hardcode playerstable.