diff --git a/app/Http/Livewire/UserTable.php b/app/Http/Livewire/UserTable.php index cf9dfab..d5e6b80 100644 --- a/app/Http/Livewire/UserTable.php +++ b/app/Http/Livewire/UserTable.php @@ -15,6 +15,7 @@ class UserTable extends DataTableComponent public function configure(): void { $this->setPrimaryKey('id'); + $this->setDefaultSort('created_at', 'asc'); $this->setPerPageAccepted([50, 100, 250, 500, 1000, -1]); $this->setColumnSelectEnabled(); }