The aurora occurs so high up that the mix of air we are familiar with is not the same as at 100 km. The atmosphere there is much less dense, and stratified by gravity into layers. The nitrogen layer lies above the oxygen layer.