将 $1,2, \cdots, n$ 按照某种顺序排成一列得到数列 $\left\{a_n\right\}$ ,对任意 $1 \leq i < j \leq n$ ,如果 $a_i>a_j$ ,那么称数对 $\left(a_i, a_j\right)$ 构成数列 $\left\{a_n\right\}$ 的一个逆序对.若 $n=4$ ,则恰有 2 个逆序对的数列 $\left\{a_n\right\}$ 的个数为
$\text{A.}$ 4
$\text{B.}$ 5
$\text{C.}$ 6
$\text{D.}$ 7
$\text{E.}$
$\text{F.}$