Physical Mechanisms Driving Cell Sorting In Hydra