diff --git a/src/DataObject/DataObjectFetcher.php b/src/DataObject/DataObjectFetcher.php index f1afa28..5715cc7 100644 --- a/src/DataObject/DataObjectFetcher.php +++ b/src/DataObject/DataObjectFetcher.php @@ -88,7 +88,9 @@ private function createDataList(?int $limit = null, ?int $offset = null): DataLi { $list = DataList::create($this->dataObjectClass); - return $list->limit($limit, $offset); + return $list + ->sort('ID', 'ASC') + ->limit($limit, $offset); } }