open the log files and the output file. read in each log file into a hash with the key based on the date of the item sort the hash keys and write the values to the output file