Modules alphabetically sorted in Discovery review

This commit is contained in:
fbsanchez 2021-03-15 15:16:49 +01:00
parent 971f86601a
commit 02b2eec65d
1 changed files with 3 additions and 0 deletions

View File

@ -1524,6 +1524,9 @@ class DiscoveryTaskList extends HTML
$simple_data[] = $tmp; $simple_data[] = $tmp;
if (is_array($data['modules'])) { if (is_array($data['modules'])) {
// Alphabetically sort.
ksort($data['modules']);
$simple_data = array_merge( $simple_data = array_merge(
$simple_data, $simple_data,
array_reduce( array_reduce(