It should be 1s²2s²2px¹2py¹2pz¹.
When electrons fill the same orbital, the spin should be maximum.
When electrons fill orbitals with the same energy, electrons should fill , at first, all these orbitals with one electron each. Sun of spins of these electrons should be maximum.