public static String appendRankings(IATournament tournament) {
    List<IAPlayer> playerList = new ArrayList<IAPlayer>();
    List<IAPlayer> activePlayers = tournament.getIAPlayers();

    playerList.addAll(tournament.getAllIAPlayers());
    Collections.sort(playerList, new IAComparator(tournament, IAComparator.rankingCompare));

    String content =
        "<table border=\"1\"><tr><td>Rank</td><td>Name</td><td>Score</td><td>SoS</td><td>Ext SoS</td></tr>";

    for (IAPlayer p : playerList) {

      String name = p.getName();

      if (activePlayers.contains(p) == false) {
        name = "(D#" + p.getRoundDropped(tournament) + ")" + name;
      }

      content +=
          "<tr><td>"
              + p.getRank(tournament)
              + "</td><td>"
              + name
              + "</td><td>"
              + p.getScore(tournament)
              + "</td><td>"
              + p.getAverageSoS(tournament)
              + "</td><td>"
              + p.getExtendedStrengthOfSchedule(tournament)
              + "</td></tr>";
    }

    content += "</table>";

    return content;
  }