ass-backwards
synonyms
put the cart before the horse