I've run into an interesting issue (I use the term "interesting" loosely).
I have three objects, A, B and C. I want my drawing order to be just that A on top of B, which is on top of C.
In model space, from back to front it's ordered A-B-C
In Viewport 1, it's ordered A-C-B
Viewport 2, its B-C-A.
Though Viewport 1, I order it to A-B-C; now viewport 2 is C-B-A
Through Viewport 2, I order it A-B-C, but now viewport 1 is C-B-A
At this point I'm ignoring what model space is doing I just want the correct draw order on all viewports to be the same. I always thought Model and viewports all followed the same drawing order? I guess not. Any insight?