In 26 R1, I have two sort conditions defined like this (notice the first one is a formula):

This does not function correctly. It sorts first by OpportunityID.
According to my findings, if I change the OpportunityID sort to also be a formula, like this

it functions correctly.
According to my findings, this is directly due to how the GI code is written. Please fix.