Sort and direct defective parts to recycle