Write a program that reads the records in Used File (described at the end of Chapter 4) and stores them in an array or vector.
Then sort the records so that the resources used to date are in descending order, using one of the sorting schemes in this section as an indirect sort.