I'm attempting to sort for the results of a dictionary. I would like to short by the 'key' in ascending order. I have already made several attempts using: sorted() and .sort().<br>Here is my loop:<br> for key,value in word_count.items():<br>
print sorted(key), "=", value<br><br>Thanks<br>