System for detecting and sorting of waste objects