The text is an idiomatic expression that means one should not do things in the wrong order. It does not play on different meanings of a word or similar-sounding words for a humorous effect.
Don ' t put the cart before the horse .