Added withInnerGroupOrdering