Fix integrations versions order (#24624)

This commit is contained in:
Quentame 2022-10-19 19:45:34 +02:00 committed by GitHub
parent a37d099191
commit ba1ccaf788
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,7 @@ module Jekyll
end
{ "label" => version, "new_components_count" => v[1].count, "sort_key" => gem_ver }
}.sort_by { |v| v["sort_key"] }.reverse.group_by { |v|
}.sort_by { |v| Gem::Version.new(v["sort_key"]) }.reverse.group_by { |v|
version = v["label"]
split_ver = version.split('.')