def sort_uniq_c(seq):
    "Duplicate unix's 'sort | uniq -c | sort -nr'"
    count_first = ((y,x) for (x,y) in histogram(seq).items())
    return format2cols(sorted(count_first, reverse=True))
Duplicate unix's 'sort | uniq -c | sort -nr'
recipes/Python/497011_Count_commits/recipe-497011.py