The number of the badges represent the prosperity of your city. If your get higher prosperity, you will get highter level in the ranking.