Hi Cameron,
Why not just squeeze each duck, and separate them according to what noise comes out? Then once you've got them in two piles, you should hear nothing but quacks from one pile, and nothing but er, you know what I mean, from the other!
Then just ring (or loosely cable-tie) the legs of all the boys, and you can put them all back in together.