I think Paul P and Tom Riggs have got it figured out.
Does an A440 when played back sound like nearly an A#? If so, then you are probably recording at a 44.1 KHz sample rate and playing back at a 48 KHz sample rate. Does an A440 when played back sound a bit sharper than a G#? If so, then you are probably recording at 48 KHz sample rate and playing back at a 44.1 KHz sample rate. You might also detect a slight difference in tempo?
You just need to make sure SONAR and your audio interface agree on the sample rate in use.