In a recent survey, Time Out magazine asked more than 18,500 city-dwellers to rank their cities among the best in the world.