Example 93: Sort Records in a File
Learn how to sort records in a file and display the results.
We'll cover the following...
Problem
Suppose a file contains students’ records, with each record containing the name and age of a student.
Write a program to read these records and display them in sorted order by name. The file has already been ...