public function orderByBranch($reverse = false)
    {
        if ($reverse) {
            return $this
                ->addDescendingOrderByColumn(ChildCategory::LEFT_COL);
        } else {
            return $this
                ->addAscendingOrderByColumn(ChildCategory::LEFT_COL);
        }
    }
public function orderByBranch($reverse = false)
    {
        if ($reverse) {
            return $this
                ->addDescendingOrderByColumn(ChildCategory::LEFT_COL);
        } else {
            return $this
                ->addAscendingOrderByColumn(ChildCategory::LEFT_COL);
        }
    }
public function orderByBranch ( $ reverse = false ) { if ( $ reverse ) { return $ this -> addDescendingOrderByColumn ( ChildCategory :: LEFT_COL ) ; } else { return $ this -> addAscendingOrderByColumn ( ChildCategory :: LEFT_COL ) ; } }
Order the result by branch, i.e. natural tree order

@param     bool $reverse if true, reverses the order

@return    $this|ChildCategoryQuery The current query, for fluid interface
Order the result by branch i . e . natural tree order