Take the cake has 2 different meanings across 1 category:
Verb
rank first; used often in a negative context
"He takes the cake for chutzpah!"
To be especially good or outstanding.