Put the cart before the horse
English
Meaning
To put things in the wrong order or with the wrong priorities; to put something inconsequential as more important than something more essential. #Examples "Picking out paint colors before we even built our house is putting the cart before the horse" Sources Wiktionary
Equivalent idioms in other languages
This is how you express this idiom across languages and locales.
List
Map