Five Steps to Prepare Your Material for Intelligent Sorting