def print_word_counts(filename):
    c = Counter()
with open(filename) as f:
    for line in f:
        c.update(w.lower() for w in re.findall('[a-zA-Z]+', line))
for k, v in sorted(c.items()):
    print(k, v)
print_word_counts('engltreaty.txt')
return output of dictionary to alphabetical order