A Sobolev-type upper bound for rates of approximation by linear combinations of Heaviside plane waves