A Guide to Efficient Material Sorting