Find all the entire functions $f$ such that $$f(\sin z)=\sin(f(z)),\quad z\in\mathbb C.\tag {*}$$
The motivation to ask this question is an old post Find all real polynomials $p(x)$ that satisfy $\sin(p(x))=p(\sin(x))$. In the post, the proof is based on the real background, such as the equation $\sin z=z$ has a unique real root $x=0$, but in the complex field, there are infinite roots. It is easy to check that $$f\equiv0, \quad f(z)=\pm z,\quad f(z)=\pm\sin z,\pm\sin (\sin z),\cdots$$ satisfy the equation $(*)$. Are these all the entire function satisfying equation (*).
My thought is to expand $f$ to its Taylor series $$f(z)=\sum_{n=0}^{\infty}a_nz^n,\quad \sin z=\sum_{n=0}^{\infty}\frac{(-1)^n}{(2n+1)!}z^n.$$ But no way to advance the next step.
Any comments and hints will welcome! Thanks a lot!