This code uses the Perl Text :: CSV library to access CSV files. Sorts and prepares an output file called finalReport.csv