sorting STATS in console.log and printing the hostname used for saving it