Thanks. I only use the DisplayPort ports. So what I should do is to figure out which physical port corresponds to which number?
Just plug in monitors into various ports and see what number they come up with.
In my case, my video card's outputs, if you look it from the backplate are DP, HDMI, DP. To test things out, I have a 4K, 1080p, and 1440p monitor hooked up to those ports in that order. This is what Windows shows me:
If I swap the 1440p and 4K monitors however, this is what it shows me:
So we can infer then that the first DP port is monitor #1, the second DP port is monitor #2, and the HDMI port is monitor #3.
However if I don't have the 4K monitor plugged in:
Now the 1080p monitor shows up as monitor #2.
Your video card may vary in how it assigns the numbers, but you can't really figure it out unless you actually try playing around with it.