I would really appreciate if anybody at least tell me only pseudocode even it would be enough only the logic part at least 3-5 line code how to start how to compare the numbers each other i mean the tricky part of this assignmet.
This is the assignment.
-----------------------
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.
Reading cities from file: C:\Temp\orter.dat
Number of cities found: 7
90325 Umeå
35243 Växjö
23642 Höllviken
72211 Västerås
51000 Jönköping
75242 Uppsala
96133 Boden
The output should be in order list like below;
23642 Höllviken
35243 Växjö
51000 Jönköping
72211 Västerås
75242 Uppsala
90325 Umeå
96133 Boden