A filtration for isoparametric hypersurfaces in Riemannian manifolds