resort-city assignment, sorting for hotels and cities, DRYing models