There's definitely sorting going on (including hardware, such as magnet, utilizing gravity/shaking, chemical) but still plastic often ends up in landfill because it's not profitable. Even China who used to do "hire minimum wage workers" to do recycling but at global scale ended it because all the adverse health/environmental effect making it worse than not profitable [1]
[1] https://youtu.be/KXRtNwUju5g?si=VlmZAcdhZM0_IyiE