Tagged automatic-sorting-system