Given tuples (population, number of cities to the left with population >= this one), reconstruct the correct order of the cities.
Asked in the Round 2 stage. The intended approach sorts tuples with a comparator, then inserts each tuple at its specified position.
Implement reconstruct_order(cities), where cities is a list of (population, count) tuples. Return a list containing the same tuples in an order where each tuple's count equals the number of earlier tuples whose population is greater than or equal to its population. Inputs are guaranteed to have at least one valid ordering.
def reconstruct_order(cities):