On 05.11.2012 15:49, David Sporer wrote:
> Hey Robin,
>
> yep I think you need to order by count of products.
> Try products.count instead of products.
$query->setOrderings(array('products.count' =>
\TYPO3\Flow\Persistence\QueryInterface::ORDER_ASCENDING));
It returns NULL, too.