During the Parade of Nations portion of the 2008 Summer Olympics opening ceremony, athletes from each country participating in the Olympics paraded in the arena, preceded by their flag. The flag was borne by a sportsperson from that country chosen either by the National Olympic Committee or by the athletes themselves to represent their country.
Per tradition, the national team of Greece, which hosted the previous Summer Olympics, in Athens, entered first as the progenitor of the Olympic Games, and the host country, in this case the People's Republic of China, marched last. All other nations marched in name order in the language of the host nation, which in this case is the Chinese language. The collation method used is based on the names as written in Simplified Chinese characters and is similar to that used in Chinese dictionaries. The names were sorted by the number of strokes in the first character of the name, then by the stroke order of the character (in the order 橫竖撇捺折, c.f. Wubi method), then the number of strokes and stroke order of the second character, then next character and so on. For example, this placed Australia (澳大利亚) in 202nd position, just ahead of Zambia (赞比亚) because the initial character for “Australia” () is written in 15 strokes, while that for “Zambia” () is written in 16 strokes.
An exception to the ordering was Macedonia, which entered under its provisional designation as used by the IOC, "former Yugoslav Republic of Macedonia" (前南斯拉夫马其顿共和国), but was sorted under 马其顿 (Mǎqídùn = "Macedonia.")