order generated theme data

This commit is contained in:
Adrian Ulrich committed 2019-01-27 13:03:39 +01:00
1 parent 7443ae3179
commit 2f6caffaec
1 file changed
+5 -2
+5 -2
View File
@@ -56,8 +56,11 @@ print OUT << "EOLIST";
<!-- THIS FILE IS AUTOGENERATED BY generate-themes.pl - DO NOT TOUCH! -->
<resources>
EOLIST
while(my($array_type, $lists) = each(%$XML_ARRAYS)) {
while(my($name, $items) = each(%$lists)) {
foreach my $array_type (sort(keys(%$XML_ARRAYS))) {
my $lists = $XML_ARRAYS->{$array_type};
foreach my $name (sort(keys(%$lists))) {
my $items = $lists->{$name};
print OUT "\t<$array_type name=\"$name\">\n";
foreach my $item (@$items) {
print OUT "\t\t<item>$item</item>\n";