It will take some time but I think eventually Switch will outsell them both. Switch has it over the PS2 in a way by being a console multiple people per household often own. The hybrid console feature also gives it extra value/appeal.
And as far as the DS, its library has even surpassed that console's library at this point. Plus, even when Switch 2 comes out, the original Switch will likely continue to sell for a least a couple more years on account of its (relatively) lower pricepoint and established library.
"We hold these truths to be self-evident - all men and women created by the, go-you know.. you know the thing!" - Joe Biden