The orbital angular momentum (OAM) sorter is a new electron optical device for measuring an electron's OAM. It is based on two phase elements, which are referred to as the "unwrapper"and "corrector"and are placed in Fourier-conjugate planes in an electron microscope. The most convenient implementation of this concept is based on the use of electrostatic phase elements, such as a charged needle as the arXiv:1906.02344v1 [physics.ins-det] 5 Jun 2019Electrostatic sorter for electrons carrying orbital angular momentum 2 unwrapper and a set of electrodes with alternating charges as the corrector. Here, we use simulations to assess the role of imperfections in such a device, in comparison to an ideal sorter. We show that the finite length of the needle and the boundary conditions introduce astigmatism, which leads to detrimental cross-talk in the OAM spectrum. We demonstrate that an improved setup comprising three charged needles can be used to compensate for this aberration, allowing measurements with a level of cross-talk in the OAM spectrum that is comparable to the ideal case.