Push and sort objects in the right container
Sort objects to the correct buckets and avoids the obstacles!