Task: Rank these countries by their population.
input: Brazil, China, US, Japan, Canada, Australia
output: China, US, Brazil, Japan, Canada, Australia