chuckebaby
The problem he is trying to solve here is with Sonar 5 in Windows XP.(perfect example why we need a sonar legacy forum)
I have not noticed that, my bad...
That means the problem exists at least since Sonar 5 (no wonder, I bet MIDI core engine is still the same)
Cactus Music
I really wonder if the input and output assignments would behave the way your asking in any DAW?
The only other DAW I have started to use recently is Tracktion Waveform. Its solution for MIDI inputs is brilliant compare to Sonar. I have barely used MIDI outputs there, but I had no problem when I did.
In short, you can create "Virtual MIDI input" devices and use them in projects. So they stay in tact independent from physical devices available.