added ability to read in logfile
reversed sort order