Below is an inline query for cities, in order of decreasing Population. It uses {{PAGENAME}} rather than hardcoding "Population" so that it could be reused for other properties such as Area.