Why is the "Combine Bags" setting sorting my bags like this?

/run C_Container.SetSortBagsRightToLeft(true)