Valencia climbed to the top of Group A after edging 10-man St Gallen 3-2 in the Europa League encounter at the AFG Arena.