Walking down Jane Street, Ralph passed four houses in a row, each painted a different color. He passed the orange house before the red house, and he passed the blue house before the yellow house. The blue house was not next to the yellow house. How many orderings of the colored houses are possible?
$\textbf{(A)}\ 2\qquad\textbf{(B)}\ 3\qquad\textbf{(C)}\ 4\qquad\textbf{(D)}\ 5\qquad\textbf{(E)}\ 6$
Let's use casework on the yellow house. The yellow house $(\text{Y})$ is either the $3^\text{rd}$ house or the last house.
Case 1: $\text{Y}$ is the $3^\text{rd}$ house.
The only possible arrangement is $\text{B}-\text{O}-\text{Y}-\text{R}$
Case 2: $\text{Y}$ is the last house.
There are two possible arrangements:
$\text{B}-\text{O}-\text{R}-\text{Y}$
$\text{O}-\text{B}-\text{R}-\text{Y}$
The answer is $1+2=\boxed{\textbf{(B) } 3}$