Implements Drupal\Core\Entity\Query\QueryInterface::sort().
Overrides QueryInterface::sort
public function sort($property, $direction = 'ASC', $langcode = NULL) {
$this->sort[$property] = array(
'direction' => $direction,
'langcode' => $langcode,
);
return $this;
}