original_string: public function scopeSortedBySourceAttribute(Builder $query, $attribute, $direction = 'ASC')
      {
          return $this->orderQueryBySourceAttribute($query, $attribute, $direction);
      }
code: public function scopeSortedBySourceAttribute(Builder $query, $attribute, $direction = 'ASC')
      {
          return $this->orderQueryBySourceAttribute($query, $attribute, $direction);
      }
code_tokens: public function scopeSortedBySourceAttribute ( Builder $ query , $ attribute , $ direction = 'ASC' ) { return $ this -> orderQueryBySourceAttribute ( $ query , $ attribute , $ direction ) ; }
docstring: Sorts by source attribute
  
  @param Builder $query
  @param string $attribute
  @param string $direction
  @return Builder
docstring_tokens: Sorts by source attribute