The order of appearance of the national teams followed the Greek alphabet applied to the Greek names of the countries.
Thus among the first were San Marino because in Greek it is Agios (alpha-gamma-iota-omikron-sigma) Marínos (mu-alpha-rho-iota-nu-omikron-sigma).
Monaco appeared just before Bangladesh because in Greek their names are:
Monakó (mu-omikron-nu-alpha-kappa-omikron);
Mpangklantés (read Bangladés: mu-pi-alpha-nu-gamma-kappa-lamda-alpha-nu-tau-epsilon-sigma).
Honk Kong appeared at the end, just before Greece (at the end because the country hosts the Olympics, not because of the Greek alphabet, but you already know that) because in Greek it is written:
Chongk Kongk (read Hong Kong: chi-omikron-nu-gamma-kappa / kappa-omikron-nu-gamma-kappa).
No country name starts with psi and omega can never be found at the beginnig of a word.
Have a look at
this web page. Greek names are written with the Greek alphabet but Thok's post can help you.