Say, for example, I make $300,000 in ordinary income this year and $300,000 in capital gains.
If I donate $10,000 from my cash accounts to charity, does the deduction get applied to my ordinary income tax rate or my capital gains income tax rate first?