There is indeed a difference in rating outcome between the two scenarios.
The reason behind that is quite straightforward. While in the initial situation the difference between the two players is 50 Elo, the second game will result in a lower/higher rating gain for the winner if their first game was decisive.
For Example: Let's assume "Player Y (1850) vs. Player X (1800)" results in a win for white and Player Y gains 17 Pts. due to that win.
In the following game "Player X (1783) vs. Player Y (1867)", Player X wins and gains a number of Elo points > 17 (e.g. 20 Pts.), since the rating difference between them is now greater than 50 Pts.
[Player X (1803) / Player Y (1847) - in our example]
Therefore, it is always better to win your last game =)
let's imagine a player (x) who's rating is 1800 played against a player (y) who's rating is 1850 .
If (x) won the first match and lost the second match against (y) , is it equal to a one drawn game between them in terms of rating change?
and is there a difference if (x) won the first and lost the second and the reverse situation which is (x) lost the first and won the second in terms of change in rating !