diff --git a/src/NestedSetsBehavior.php b/src/NestedSetsBehavior.php index 3113d17..9646386 100644 --- a/src/NestedSetsBehavior.php +++ b/src/NestedSetsBehavior.php @@ -495,10 +495,6 @@ public function children(int|null $depth = null): ActiveQuery $depth !== null ? $this->getDepthValue() : null, $depth, ), - )->addOrderBy( - [ - $this->leftAttribute => SORT_ASC, - ], ); }