It's all to do with the limitations of presenting notes on the traditional stave, where 11 pitches are competing for 7 positions, and the way the key signature is used to settle the contention. This means that, depending upon the key signature is use, A natural can be rendered as A or G double-sharp (conventionally notated as G followed by a stylised x) or B double-flat (conventionally notated with two flat signs). To complicate matters slightly, Sonar only allocates 1 character space for the spelling, so the pitch typically known as A 4, say, is rendered as A 4 or Gx4 or B"4 depending upon the key signature in force at that point, except in the Staff view where they are rendered pretty much as a "real" musician's manuscript would do it.
Too much information, did you say?