A lecturer has a text file which includes a list of students name and final exam marks. Create a Java program which:
• Allows lecturer to add new records to the file
• Read all the records from the file
• Sort all the records from the file and
• Exit from application.