
Knock somebody/something into a cocked hat
Visual Imagery
Imagine outperforming others as tilting a hat awry, signifying a clear and noticeable victory. 
Historical Clothing
Understand the phrase comes from an old hat style, suggesting turning something askew which is akin to causing imbalance. 
Positive Connotation
This phrase often conveys a sense of achievement or superiority in an endeavor or competition. 