poñer o carro diante dos bois

Etymology
lit. 'put the cart in front of the oxen'.

Phrase

 * 1)  put the cart before the horse