getOrderings() public method

Returns the property names to order the result by, like this: array( 'foo' => \Neos\Flow\Persistence\QueryInterface::ORDER_ASCENDING, 'bar' => \Neos\Flow\Persistence\QueryInterface::ORDER_DESCENDING )
public getOrderings ( ) : array
return array
 protected function assertQueryEquals(Query $expected, Query $actual)
 {
     $this->assertEquals($expected->getConstraint(), $actual->getConstraint());
     $this->assertEquals($expected->getOrderings(), $actual->getOrderings());
     $this->assertEquals($expected->getOffset(), $actual->getOffset());
     $this->assertEquals($expected->getLimit(), $actual->getLimit());
 }