As quoted from wikipedia The convention used by the IOC is to sort by the number of gold medals the athletes from a country have earned. In the event of a tie in the number of gold medals, the number of silver medals is taken into consideration, and then the number of bronze medals. If two countries have an equal number of gold, silver, and bronze medals, they are ordered in the table alphabetically by their IOC country code.