Write a program SortCities, reading any number of cities with their corresponding postal numbers from a text file. You may assume that each line in the file contains one postal number (integer) and one city (string) and that they are separated by a semicolon ( ; ). Create a class City, representing a city. The class City should implement the interface Comparable.
After all cities of the file have been read, they should be printed in sorted order by postal number. An example of an execution:
Reading cities from file: C:\Temp\orter.dat
Number of cities found: 7