How order of the stadium entering is decided? It is based on the number of strokes in the first character of the Chinese translation for the country names. For example Chad is translated into 乍得, and the first character 乍 is composed of five strokes, while Bahamas is translated into 巴哈马, and the first character has four strokes, so it preceded Chad when entering the stadium.
What if the number of the first character is the same? Then the sequence is decided by the second character or the third if necessary. Following the logic, Ghana preceded Canada in the sequence.
The number of strokes is decided by the simplified Chinese characters, not traditional characters which typically have more strokes.