diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index f340503f4b..72bf39c565 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -1523,7 +1523,7 @@ class Formula "desc" => desc, "homepage" => homepage, "oldname" => oldname, - "aliases" => aliases, + "aliases" => aliases.sort, "versions" => { "stable" => stable&.version&.to_s, "bottle" => !bottle_specification.checksums.empty?,