What does putting the donkey before the cart mean?

It means the same as putting the horse before the cart, i.e. doing things in the wrong order.