Consider a function $f:\mathbb{R}^2 \to \mathbb{R}$. If $f$ is twice derivable we can consider $\frac{\partial^2 f}{\partial x \partial y}$ and $\frac{\partial^2 f}{\partial y \partial x}$. If $\frac{\partial^2 f}{\partial x \partial y}$ is continuous, then $$\frac{\partial^2 f}{\partial x \partial y} =\frac{\partial^2 f}{\partial y \partial x}$$
My question is: can we find some intuition behind this? In a more general context ($f:\mathbb{R}^n\to\mathbb{R}^m$), does the continuity of $\frac{\partial^n f}{\partial x_{i_1}\dots \partial x_{i_n}}$ ensure that the order of derivation does not matter?