In what order do the Sun, Moon and Earth need to be in for a lunar eclipse to occur?

The Sun, Earth then Moon
The Earth, Sun then Moon
The Sun, Moon then Earth
The Moon, Sun then Earth