I somehow have in my mind, that
"get the basics straight (first)"
is a valid phrase/idiom in the meaning of, that someone needs to understand the basic concepts of something or get to know the basic facts of a situation, before he can further follow up on something.
While (in my mind) this sounds perfectly good - Google only has 14,900 results for it, which makes me think, that it doesn't really exist in proper English at all.
Is it correct and just not widely spread, or is there any related idiom which has the above mentioned meaning?