'How does operator.itemgetter() work in this code?

csv1 = csv.reader(scoreboard, delimiter=",")
sort = sorted(csv1, key=operator.itemgetter(0), reverse = True) 

for x in sort[:6]:
    print(x)

I am hoping someone can explain to me what's happening in the above code.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source