Yes, the Sun does rotate, but it doesn't spin like a solid ball - maybe because it isn't one.
When the speed of rotation varies like this, we say the object has 'differential rotation'. Nobody really understands fully why differential rotation happens on the Sun, but if it happened on the Earth it'd look something like this.