Inspection, assessment and sorting of various foods regarding quality, freshness, legal conformity and market value