Disorder characterization of porous media and its effect on fluid displacement