I have 2 40 inch monitors and sometimes when I power on the computer they swap resolutions and identities. When I check the resolution and It says my main monitor is the second monitor and has the resolution of the second monitor. It shows the second monitor as main monitor and shows the resolution of main monitor. Rebooting or changing settings fixes the problem but it is annoying to do. Is there a way to prevent them from getting mixed up?

The secondary monitor is a little slower to power on then the first. When powering the computer up the video always shows on the main monitor and video only shows on secondary monitor after I log in.