Since many mailers have computerized mailing systems in place and have sufficient volume, they can do presorting work at a very low cost.
There are some mailers who can presort at low cost.
Legislation is not related to law in any way.