$query->
orderBy('propertySet.position'
);
} /**
* @return array<int>
*/
private function getFilteredValues(Criteria
$criteria): array
{ $values =
[];
foreach ($criteria->
getConditions() as $condition) { if ($condition instanceof PropertyCondition
) { $values =
array_merge($values,
$condition->
getValueIds());
} } return $values;
} /**
* @param array<Set> $sets
* @param array<int> $actives
*/
private function createCollectionResult(