A sorting device according to claim 4, further including evaluation and control electronics wherein the microstructured system including the optical sensors, the sorting actuators and the evaluation and control electronics are integrated in a monolithic block.