derange vs put to rights

derange

verb
  • To cause disorder in (something); to distort from its ideal state. 

  • To cause to malfunction or become inoperative. 

  • To cause (someone) to go insane or become deranged. 

put to rights

How often have the words derange and put to rights occurred in a corpus of books? (source: Google Ngram Viewer )