How can we derive the implication:
$$ ∃y∀xP(x,y) \implies ∀x∃yP(x,y) $$
In other words, when quantifiers in the same sentence are of the same type (all universal or all existential), the order in which they occur does not matter. But when they are mixed, the order in which they occur becomes crucial.
How does the above formula hold?
We can formally prove that:
$$ \exists y \forall x P(x,y) \implies \forall x \exists y P(x,y) $$
but the reverse implication is not logically valid.
Consider the $y$ promised by the first statement, a $y$ which satisfies $P(x,y)$ for every $x$. From this it may be seen that for every $x$, some $y$ exists such that $P(x,y)$. That is the informal restatement of the above.
But the reverse implication is not provable as can be seen from the following example. Suppose that $P(x,y)$ is interpreted in the domain of natural numbers as "x is less than y". Then for every $x$, certainly there exists $y$ such that $x$ is less than $y$. Thus it is the case that $\forall x \exists y P(x,y)$. However with this interpretation, the first statement $\exists y \forall x P(x,y)$ would mean that some $y$ is greater than every number $x$, a clear impossibility (e.g. a number cannot be greater than itself).