put the cart before the horse - definition and synonyms

phrase
  1. to do one thing before another thing that you should have done first
See also main entry: cart