sorting: deprecations for the old sorting API