When the Earth the Moon and the Sun aligned which order would lead to a solar eclipse

The correct order of alignment for a solar eclipse is the Moon, then the Sun, and then the Earth. This means that when the Moon comes between the Earth and the Sun, it casts a shadow on the Earth, causing a solar eclipse.