I want to prove the following: Let $A,B$ be bounded self-adjoint operators in a complex-Hilbert space and $E_A(\lambda)$, $E_B(\lambda)$ its corresponding spectral resolutions, i.e., $$A=\int_{[m_A,M_A)}t\;dE_A(t)\qquad\text{and}\qquad B=\int_{[m_B,M_B)}t\;dE_B(t).$$ If $A\geq B$ (in the sense of positive operators) then $\mathrm{dim}(\mathrm{rg}E_A(\lambda))\leq \mathrm{dim}(\mathrm{rg}E_B(\lambda))$ for all $\lambda\in\mathbb{R}$.
I think for each $\lambda$ we can define the linear operator $T_\lambda:\mathrm{rg}(E_B(\lambda))\to\mathrm{rg}(E_A(\lambda)),\;x\mapsto E_A(\lambda)x$ and prove that this opeator is surjective but I do not know how to do it.
Can someone give me an idea? I will be grateful.