Zigged before you zagged

Meaning :
If you did things in the wrong order, you zigged before you zagged.


Example :

The cake tasted really bad, as it turned out Mimi zigged before you zagged when it came to the order in which the ingredients were added in.