end to vs sorting out

end to

sorting out

How often have the words end to and sorting out occurred in a corpus of books? (source: Google Ngram Viewer )