Sorting of Materials and Recuperation of Metals in Magnetic Separation Processes