These schematics also show an electron beam's experimental transverse intensity profile recorded at various planes in the sorting apparatus. A hologram in the sorter's generator plane that corresponds to the electron microscope's condensor, produces an electron beam carrying orbital angular momentum (OAM). In this particular case, the beam consists of a superposition of ±5 OAM states. The beam then goes through a hologram in the apparatus' sorter plane, positioned at the microscope's sample holder, that performs the required conformal mapping . Once the beam is unwrapped, it passes through a hologram in the sorter's corrector plane corresponding to the microscope's selected area diffraction (SAD) aperture. This hologram brings corrections to any phase defects to the beam to stabilize its propagation through the rest of the sorter. At the sorter's output, the original beam's OAM content is spatially resolved on a screen and captured by a CCD camera. A more detailed schematic of our sorter's implementation is included in Supplementary Fig. 1 and Supplementary Note 1 where we provide details concerning the electron microscope lenses required to perform the mapping. Scanning electron microscopy (SEM) images of the depicted holograms, the ones in the generator, sorter and corrector planes, are shown in a–c, respectively.