Sensor-based sorting has made enormous technological progress in recent years: data recorded using dual- and multienergy technology (DE- and ME-XRT) can be analyzed using machine learning methods. The procedure and the evaluation are very fast and at the same time very reliable. This makes them particularly suitable for harsh environments with high levels of dust and moisture.