X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/ac01c25abcbe7d2ede91723ac91d519bd170fd1f..90a1b6fad6aeeab84fc96d6511fdf42fff315df5:/SL/Controller/JSTests.pm diff --git a/SL/Controller/JSTests.pm b/SL/Controller/JSTests.pm index 1c8a67bd2..b3da9f24b 100644 --- a/SL/Controller/JSTests.pm +++ b/SL/Controller/JSTests.pm @@ -6,6 +6,7 @@ use parent qw(SL::Controller::Base); use File::Find (); use File::Spec (); +use List::UtilsBy qw(sort_by); use SL::System::Process; @@ -42,7 +43,7 @@ sub init_all_scripts { File::Find::find($wanted, $exe_dir . '/js/t'); - return \@scripts; + return [ sort_by { lc } @scripts ]; } sub init_scripts_to_run {