public function setSortDirection($sortDirection) { $this->sortDirection = $sortDirection; return $this; }