What determines opaque pass draw call order.

Looks like GetMobileBasePassSortKey_ByState was changed in UE5 and is now sorting depth less accurately.

I wonder what the reason for the change is?