earlier vs sometime

earlier

adj
  • occurring previously 

adv
  • previously; before now; sooner 

sometime

adj
  • Former, erstwhile; at some previous time. 

  • Occasional. 

adv
  • At an indefinite but stated time in the past or future. 

How often have the words earlier and sometime occurred in a corpus of books? (source: Google Ngram Viewer )