in the way of vs next to

in the way of

prep
  • In relation to; in connection with; with respect to. 

  • Similar to; as an instance of; as a kind of. 

  • In or into a position of being likely to obtain, to attain, or to achieve. 

next to

prep
  • Compared to, in comparison with. 

  • Beside, alongside, by, adjacent to, or near. 

  • Immediately after, in choice or consideration; aside from. 

adv
  • Almost; nearly, well-nigh. 

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