Added saving text file with sorted energies of all log files