My level of knowledge on Chemistry is first year. I'm teaching myself about electron configurations using Google to find and compare sources.
In this webpage - http://www.chemguide.co.uk/atoms/properties/ies.htm
It's demonstrated that Oxygen has a lower first ionization energy than Nitrogen...