Energy density doesn't matter for electricity since the storage batteries don't move and there is plenty of space for them. Cost per energy stored is what matters. Density is important for transportation especially planes.

Sodium ion batteries have worse energy density than lithium ion but they have potential to be cheaper and more reliable. Iron air batteries have poor round trip efficiency but could be even cheaper.