The first ionization energy increase from left to right along 2nd period with the following exceptions IE1:Be>B and N>O This is due to stable configuration of Be in comparison to B and that of N in comparison to O. Hence the correct order is N>O>Be>B