The method that is most similar to a multi-track tape being mixed onto a two-track master is this:
• Record all your tracks.
• Make sure they are all routed to master.
• Instead of being routed directly to master, tracks can be routed to various buses and those buses can be routed to master.
• Set the faders and pan where you want them, or use automation to move the faders and panning.
• Select All if you want everything in your mix. Mute or deselect tracks you don't want in your mix.
• Choose File | Export and your mix will become a wav file on your computer (like the master tape on a 2-track machine). It may take a little reading to understand the Export options. I always check Include Live Input if I have some synths that are programmed with MIDI but not recorded.
Some of the other responses above are saying you can put the whole mix onto a stereo track in Sonar (Bounce) instead of creating a wav file on your computer. This would be like bouncing down to two available tracks on a multi-track machine instead of mixing to another tape machine.
I know the tape comparison may be archaic and may not help; but an analog console with a multi-track tape machine is kind of a good way to visualize what can be confusing in the virtual world.
When I was first using Sonar for audio and not just MIDI programming, I made a very short and simple recording of a couple of instruments and messed around until I figured out how to export.
TAPE SONAR
--------------------------
BOUNCE BOUNCE
MIX EXPORT