sentence1: The city of Cortlandville , near the western border of the county , is surrounded by the town of Cortland .
sentence2: The town of Cortland , near the western border of the county , is surrounded by the city of Cortlandville .