public function getOrderedChildren($perPage = null)
    {
        $children = $this->children();

        $this->determineChildrenSorting($children);

        return $this->determineChildrenPagination($perPage, $children);
    }
public function getOrderedChildren($perPage = null)
    {
        $children = $this->children();

        $this->determineChildrenSorting($children);

        return $this->determineChildrenPagination($perPage, $children);
    }
public function getOrderedChildren ( $ perPage = null ) { $ children = $ this -> children ( ) ; $ this -> determineChildrenSorting ( $ children ) ; return $ this -> determineChildrenPagination ( $ perPage , $ children ) ; }
Get ordered children

@param int|null $perPage
@return Collection|LengthAwarePaginator
Get ordered children