def sort_stories_by_votes(hnlist):
    """Sort stories by total number of votes."""
    print(f'Today\'s Top {len(hnlist)} Articles:\n')
    return sorted(hnlist, key=lambda k: k['votes'], reverse=True)