Let $K$ be a field and $ f : V \rightarrow W$ a $K$-linear map between finite dimensional vector spaces over $K$, $V$ and $W$. Show that there exist ordered bases $\mathfrak{B}_V$ of $V$ and $\mathfrak{B}_W$ of $W$ such that $$M_{f,\mathfrak{B}_V ,\mathfrak{B}_W} = \begin{pmatrix} 1_r & 0 \\ 0 & 0 \end{pmatrix}$$
where $r = dim(im(f))$ is the rank of $f$,
$1_r ∈ K^{r×r}$ is the $r × r$ unit matrix,
and $0$ is the fitting zero matrix.
How do I prove the existence of such bases? Can I just take the canonic bases of $V$ and $W$ and note them as tuples? How do I prove they are ordered?