public function orderBy(callable $function, $direction) { return $this->newMethodSegment(__FUNCTION__, [$function, $direction]); }