Sentence:  When I inform'd him, then he call'd me sot, And told me I had turn'd <WSD>the wrong side out</WSD>. 
Meaning of the word marked with <WSD> tags:  Reversed, changed diametrically, by analogy with a garment that is wrong side out.