In champions league, the second tiebreaker after points is head to head points between the teams in question (it is different from the league). Since he beat you 1-0 and then you tied 1-1 he took four points from your two games and you only took one, which is why he is first. Hope this helped.