BUG: Bug in DataFrameGroupby.transform when transforming with a passed non-sorted key (GH8046)
Merge pull request #8049 from jreback/transform_order

BUG: Bug in DataFrameGroupby.transform when transforming with a passed non-sorted key (GH8046)