diff --git a/src/PagesConfig.php b/src/PagesConfig.php index 37fd213..d17d34a 100644 --- a/src/PagesConfig.php +++ b/src/PagesConfig.php @@ -109,7 +109,8 @@ public function indexTableColumns($table) protected function makeTitleColumns($table) { $table->col('Title') - ->value('{'.$this->getTitleColumnName().'}'); + ->value('{'.$this->getTitleColumnName().'}') + ->sortBy($this->getTitleColumnName()); } /**