Sorting of parts or products vs. manufacturing criteria