public function getSortedNodes($key = null, $direction = null, $type = null, $limit = null, $locale = null)
    {
        return $this->getSortedNodesBuilder($key, $direction, $type, $limit, $locale)->paginate();
    }
public function getSortedNodes($key = null, $direction = null, $type = null, $limit = null, $locale = null)
    {
        return $this->getSortedNodesBuilder($key, $direction, $type, $limit, $locale)->paginate();
    }
public function getSortedNodes ( $ key = null , $ direction = null , $ type = null , $ limit = null , $ locale = null ) { return $ this -> getSortedNodesBuilder ( $ key , $ direction , $ type , $ limit , $ locale ) -> paginate ( ) ; }
Gets sorted nodes

@param string $key
@param string $direction
@param string $type
@param int $limit
@param string $locale
@return Collection
Gets sorted nodes