I don't have enough reputation to comment yet.
I want to add more on @BSSchwarzkopf response.
for VS2022, if you want to compare vice-versa (in opposite direction) you can't do that.
it will always compare older_branch
vs newer_branch
.
older_branch
= branch that last commit date is earlier.
newer_branch
= branch that last commit date is latest.
no matter what branch you checkout.