row.refresh();
dumpedSubTables.clear();
// Update table ranking. Make sure to maintain alphabetical order by team ID for mathematically equal rows.
// Otherwise there might be duplicate subtables in member dumpedSubTables, just with identical teams in
// different order.
Collections.sort(rows, new TeamIdComparator(comparator));
Row previousRow = null;
int currentRank = 0;
int nextRank = 0;
for (Row row : rows) {
nextRank++;