expression

To knock something into a cocked hat.

Theme: success Keyword: clothing

means

Chiefly British: to outperform someone or something decisively.

Example

The new translation knocks the earlier version into a cocked hat.