Pilot flame igniters with interlock with main fuel supply to determine the sequence of supply of fuel to pilot and main burners