its in terms of power I believe, so while those guys have different city levels, their power levels are similar. City levels only show their building power, they can be level 21 and not have much power, or they can be level 18 with more power due to more studies, higher troop count, etc. They tend to try and keep leagues similar in terms of power levels, not city levels.