Champions League qualification is within Real Sociedad's reach after they saw off their closest rivals for the last place, Valencia, 4-2 on Sunday night.