Is it legal for a credit card company to sell your delinquent debt?

There are a few routes your credit card company can take when you're late on payments — including selling the debt.

Is it legal for a credit card company to sell your delinquent debt?
There are a few routes your credit card company can take when you're late on payments — including selling the debt.