The ionisation potential increases from left to right in a period but -the first ionisation potential of nitrogen is greater than oxygen due to half-filled stable configuration and ionisation potential of Be is greater than B due to completely filled s-orbital. Hence, the order of ionisation potential is as: