Same issue for dual display setup, my workaround is to label the cables and make damn sure I plug them in the same order and same port every time. If I do it wrong I’ve to do the display settings and rotate both screens routine..
Another option is to use the left side ports at work and the right side at home.