title: How to sort dictionary in alphabetical order?
body: <p>I'm doing an exercise where given a CSV file <code>message.csv</code> (the first three lines of which are displayed below), I need to write a program to count the number of messages from each sender, then print the output in alphabetical order by sender.</p>
  
  <p><em>Sender,Message <br/>
  "hello there!" <br/>
  "Computing is damn hard!"</em> <br/></p>
  
  <p>This is what I have tried so far:</p>
  
  <pre><code>from collections import defaultdict
  import csv
  counting = defaultdict(int)
  for row in csv.reader(open(message.csv)):
      counting[row[0]] += 1
  </code></pre>
  
  <p>I'm stuck on how to continue.</p>