Cooperative size sorting of deformable particles in porous media.