An experimental system consisting of a Dove prism embedded Mach–Zehnder (M–Z) interferometer and two gratings was built to sort and detect orbital angular momentum (OAM) states of light beams. The helical beams with different OAM states were generated by propagating the fundamental-mode Gaussian beam through a spatial light modulator. The Dove prism embedded M–Z interferometer was used to sort helical beams with odd or even OAM number and two binary amplitude gratings were used to measure the OAM states. Sorting of coaxially-superposed coherent and incoherent helical beams with odd and even OAM states was realized in the experiment.