OrderBy(Project(Extend(Extend(AggregationJoin(Aggregation(??agg1: ?other, SAMPLE, {}, G1=Group((?other), Filter((?other != ), BGP( ?sale . ?sale ?other . ?sale )))), Aggregation(??agg2: ?other, COUNT, {}, G1)), ?offer, ??agg1), ?otherCount, ??agg2), {?offer, ?otherCount}), (desc (?otherCount)))