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