Sets the property names to order the result by. Expected like this:
array(
'foo' => \Neos\Flow\Persistence\QueryInterface::ORDER_ASCENDING,
'bar' => \Neos\Flow\Persistence\QueryInterface::ORDER_DESCENDING
)
public setOrderings ( array $orderings ) : Neos\Flow\Persistence\QueryInterface | ||
$orderings | array | The property names to order by |
return | Neos\Flow\Persistence\QueryInterface |