Arrangement of the following group of orbitals in which they fill with electrons :
(5f, 6p, 4p, 6s, 4d, 4f )
Electrons will first fill orbitals by the sum of the quantum numbers n and l. Orbitals with equal values of (n+l) will fill with the lower n values first.
So energies of 4p,4d,6s,4f,6p,5f are 5,6,6,7,7,8 respectively.