Sorted keys output to console.