In a taxable account, net long-term capitalgains are taxed at a rate lower than the ordinary income-tax rate for withdrawals from tax-deferred retirement plans.
Net long-term capital losses from any rate category are first applied against the highest tax rate long-term capitalgains (meaning, for example, gains from collectibles taxed at 28%).