Then came David to Nob to Ahimelech the priest: and Ahimelech came to meet David trembling, and said to him, Why are you alone, and no man with you?
The two episodes recorded in this chapter are quite logically arranged exactly where they occur in our text.  When his life stood in jeopardy, David went (1) first to Samuel; (2) then to his beloved Jonathan the prince; when neither of these could provide safety for him, what could have been more logical than (3) his going to see the High Priest in the tabernacle of the Lord at Nob. That this is a true chronological arrangement is certainly as likely as anything that 19th century or 20th century critical scholars have concocted in place of it.