neat as a pin vs to rights

neat as a pin

adj
  • (simile) Very neat and tidy. 

to rights

prep
  • Into proper order; properly. 

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