Cam / Compression Ratio
Depends what your doing but for Maiinly Street engine, I’d say cam then cr.
if you start out the other way around depends what cr you pick your cam choices narrow and could force to run lot larger cam than you want.
Eg… if you want a cam like xe250h your not gonna be able to run a lot of cr with pump gas.
But for the most part people that build engines know what level of performance their going after and know around what cr and cam they’ll need off the bat.