diff --git a/upload/admin/controller/extension/module.php b/upload/admin/controller/extension/module.php index 136521d14ec..1250a69cfec 100644 --- a/upload/admin/controller/extension/module.php +++ b/upload/admin/controller/extension/module.php @@ -180,7 +180,12 @@ public function getList() { ); } } - + $names = array(); + foreach ($data['extensions'] as $key => $row) + { + $names[$key] = $row['name']; + } + array_multisort($names, SORT_ASC, $data['extensions']); if (isset($this->request->post['selected'])) { $data['selected'] = (array)$this->request->post['selected']; } else { @@ -209,4 +214,4 @@ protected function validateDelete() { return !$this->error; } -} \ No newline at end of file +}