Added use of the FileReader in the Sort class with exception handling