code: public function orderBy($column, $direction = 'asc')
      {
          if(in_array($column, $this->model->translatableAttributes())) {
              return $this->orderByTranslated($column, $direction);
          }
  
          return parent::orderBy($column, $direction);
      }
docs: Add an "order by" clause by translated column to the query.
  
  @param  string  $column
  @param  string  $direction
  @return $this