The correct order of second ionization potential of carbon, nitrogen, oxygen and fluorine is:-
O > F > N > C
Second ionization potential of oxygen is more than that for fluorine, because second electron is removed from half-filled 2p-orbital of O+. So, the correct order of second ionization potential is O > F > N > C.