The dynamics of self-propelled particles with curved trajectories is investigated. Two modes are observed, a bulk mode with a quasicircular motion and a surface mode with the particles following the walls. The surface mode is the only mode of ballistic transport and the particle current is polar and depends on the particles' chirality. We show that a robust sorting and extraction occurs when the particles explore a domain with two exit gates collecting selectively the particles circling left and right. With a counterslope, the extraction rate is found to increase while the sorting error is reduced.