|
From: <sv...@cy...> - 2016-02-17 13:32:16
|
Author: comsultia
Date: 2016-02-17 14:32:07 +0100 (Wed, 17 Feb 2016)
New Revision: 8602
Log:
Modified:
trunk/frame/_addons/App/020/functions/metadata.pm
Modified: trunk/frame/_addons/App/020/functions/metadata.pm
===================================================================
--- trunk/frame/_addons/App/020/functions/metadata.pm 2016-02-16 21:34:31 UTC (rev 8601)
+++ trunk/frame/_addons/App/020/functions/metadata.pm 2016-02-17 13:32:07 UTC (rev 8602)
@@ -218,10 +218,10 @@
my %metadata=@_;
my $text="<metatree>\n";
- foreach my $section (keys %metadata)
+ foreach my $section (sort keys %metadata)
{
$text.="<section name=\"$section\">\n";
- foreach my $variable(keys %{$metadata{$section}})
+ foreach my $variable(sort keys %{$metadata{$section}})
{
$text.="<variable name=\"$variable\">$metadata{$section}{$variable}</variable>\n";
}
@@ -233,4 +233,4 @@
return $text;
}
-1;
\ No newline at end of file
+1;
|