In league or in CL?
According to Top Eleven rules (not FIFA), if 2 teams have same number of points in league, team which has better goal difference will have advantage/better position on table.
However, Champions League rules (for group stage) are different; team which has better results from their duel will get better position.