Concept:
When modulus is involved in trigonometric functions, split the interval where the function inside modulus changes sign.
Step 1: Identify sign change of \( \sin x \).
\[
\sin x \ge 0 \text{ for } [0, \pi], \quad \sin x<0 \text{ for } [\pi, 2\pi]
\]
Step 2: Remove modulus accordingly:
\[
|\sin x| =
\begin{cases}
\sin x & 0 \le x \le \pi
-\sin x & \pi \le x \le 2\pi
\end{cases}
\]
Step 3: Split the integral:
\[
\int_0^\pi x\sin x\,dx + \int_\pi^{2\pi} -x\sin x\,dx
\]
Step 4: Using integration by parts:
\[
\int x\sin x\,dx = -x\cos x + \sin x
\]
\[
\int_0^\pi x\sin x\,dx = \pi, \quad \int_\pi^{2\pi} -x\sin x\,dx = 3\pi
\]
Final Answer:
\[
\text{Area} = \pi + 3\pi = 4\pi
\]