>>> But for someone who bought 5 years ago, was it a good investment with respect to the market average for this sector?
Yes, and here's why. . .
http://www.kiplinger.com/article/investing/T052-C017-S001-wh...
MS tends to be in the sweet spot for investors. It's not grossly over priced, they hit their numbers on a regular basis, and no expects them to be successful. Therefore, if one of their products hits big, investors are happy, if they have a flop, no biggie, the shares are only $23.
Compare that to Apple. Their shares are in the $500 range and they are the homecoming queen in the tech sector. If they have a flop, and you have a sizable investment, you're hosed. If they hit their numbers, your large investment stays put. It's a lot more riskier.