The correct sequence for the naturalization process is:
- File an N-400 application (2)
- Take an English and US history examination (3)
- Appear before a judge for a court hearing (4)
- Take an oath of allegiance (1)
Therefore, the correct answer is:
B. 2, 3, 4, 1