out of the pairs of orbitals which has a higher amount of energy

4f or 6s

6s fills before 4d doesn't it?