Simple python3 word count with sorted output