aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 0ba0d334d..082a8e80f 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -614,6 +614,8 @@ class Formula
"poured_from_bottle" => tab.poured_from_bottle
}
end
+
+ hsh["installed"].sort_by! { |i| Version.new(i["version"]) }
end
hsh