In the same fluid, an object floats if its density is low enough, and it sinks if its density is high enough.
It doesn't matter which one is bigger, which one is smaller, how bitter or sweet the fluid is, what color the substances are, how much they cost, or what planet they came from.