original_string: public function getSortedNodes($key = null, $direction = null, $type = null, $limit = null, $locale = null)
      {
          return $this->getSortedNodesBuilder($key, $direction, $type, $limit, $locale)->paginate();
      }
code: public function getSortedNodes($key = null, $direction = null, $type = null, $limit = null, $locale = null)
      {
          return $this->getSortedNodesBuilder($key, $direction, $type, $limit, $locale)->paginate();
      }
code_tokens: public function getSortedNodes ( $ key = null , $ direction = null , $ type = null , $ limit = null , $ locale = null ) { return $ this -> getSortedNodesBuilder ( $ key , $ direction , $ type , $ limit , $ locale ) -> paginate ( ) ; }
docstring: Gets sorted nodes
  
  @param string $key
  @param string $direction
  @param string $type
  @param int $limit
  @param string $locale
  @return Collection
docstring_tokens: Gets sorted nodes