how does a ball mill sorter work