Step 1: Given general solution:
\[
y=a\sin x+b\cos x
\]
Step 2: It contains two arbitrary constants:
\[
a,\quad b
\]
Step 3: The order of the differential equation is equal to the number of arbitrary constants in its general solution.
Step 4: Therefore, order is:
\[
2
\]
\[
\boxed{2}
\]