original_string: public function getOrderedChildren($perPage = null)
      {
          $children = $this->children();
  
          $this->determineChildrenSorting($children);
  
          return $this->determineChildrenPagination($perPage, $children);
      }
code: public function getOrderedChildren($perPage = null)
      {
          $children = $this->children();
  
          $this->determineChildrenSorting($children);
  
          return $this->determineChildrenPagination($perPage, $children);
      }
code_tokens: public function getOrderedChildren ( $ perPage = null ) { $ children = $ this -> children ( ) ; $ this -> determineChildrenSorting ( $ children ) ; return $ this -> determineChildrenPagination ( $ perPage , $ children ) ; }
docstring: Get ordered children
  
  @param int|null $perPage
  @return Collection|LengthAwarePaginator
docstring_tokens: Get ordered children