aboutsummaryrefslogtreecommitdiff
path: root/Tools/scripts/plist
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/scripts/plist')
-rwxr-xr-xTools/scripts/plist6
1 files changed, 5 insertions, 1 deletions
diff --git a/Tools/scripts/plist b/Tools/scripts/plist
index 9b7a62e004fe..92e953e69194 100755
--- a/Tools/scripts/plist
+++ b/Tools/scripts/plist
@@ -105,8 +105,12 @@ USAGE_EOF
else
plnotdirrm.push(ent)
end
- pl = plnotdirrm + pldirrm
+ plnotdirrm.sort!
+ pldirrm.sort!
+ pl = plnotdirrm + pldirrm.reverse
}
+ else
+ pl.sort!
end
puts(pl.join("\n"))
end