public function __construct(IGenerator $iterator, callable $groupByFunction, callable $traversableFactory) { parent::__construct($iterator); self::__constructIterator($groupByFunction, $traversableFactory); }
public function __construct(IGenerator $iterator, callable $orderByFunction, $isAscending) { parent::__construct($iterator); self::__constructIterator($orderByFunction, $isAscending); }