Java program.
Read from a file, sort it and output to another file, thisprogram should read names and last name and ID (max of 8 integers)on the same line of a text file and sort using the ID number,putting manager first and every other person below the manager.
sample input:
victor frank 2367897
greg peter 3467654
david Osborn 9876543
(manager) peter osas 177340
Sample output:
peter osas 177340
victor frank 2367897
greg peter 3467654
david Osborn 9876543
Expert Answer
An answer will be send to you shortly. . . . .