For the first question: A pole $p$ of a function $f$ has order $n$ iff
$$f(z)=\frac{\tilde{f}(z)}{(z-p)^n}
$$
where $\tilde{f}$ is an holomorphic function in a disk surrounding $p$ and $n$ is the minimum integer such that this is possible. But
$$ \frac{1}{\sin{z}} =\frac{z}{\sin{z}}\cdot\frac{1}{z} \quad \text{ for }z \neq 0$$
A simple generalization of a well known formula in calculus (known sometimes, at least in Mexico, as the star limit) shows you that $z/\sin(z)$ has a well defined limit 1 when $z\to 0$. Define
$$ \tilde{f}(z)=\left\{\begin{array}{c} \frac{z}{\sin{z}} \quad z\neq 0
\\ 1, \quad z=0 \end{array}\right. $$
and compare to the definition mentioned above. Since $1/\sin{z}$ is not holomorphic at $0$, $n=1$ is the smallest for which the definition applies and so it is the order of the pole.
Alternatively: There is much simple way of proving this. It can be proved that if $f$ has $p$ as a root of multiplicity $n$ and $g$ has $p$ has a root of multiplicity $m$, then $f/g$ has $p$ as a root of multiplicity $n-m$. Where a negative multiplicity is understood as the order of a pole. So here $f=1$, $g=\sin{z}$ for which $0$ has multiplicity $1$ since $g'(0)=\cos{(0)}\neq 0$, so the multiplicity is $0-1=-1$ and the result follows.
You can apply this last technique to the other problem.
Second problem: Using the result mentioned above, see that $-2i$ is not a root of the numerator but it is a double root of the denominator, hence the result. In the $2i$ case it is a simple root of the numerator, and double root of the denominator and hence since $1-2=-1$, it is a simple root. In the other cases it is no root of the numerator (multiplicity 0) and simple root of denominator, hence order $0-1=-1$ implying simple root.
Last note: To prove the result I quoted. Use that $p$ is a root of multiplicty $m$ if $f(z)=(z-p)^m\tilde{f}(z)$ where $\tilde{f}$ is holomorphic near $p$ and $\tilde{f}(z)\neq 0$. Divide, then factor the largest power of $(z-p)$ from both numerator and denominator and then use that the quotient of holomorphic functions is holomorphic whenever the denominator does not vanishes. You obtain this useful result.