Remove old sorting method