diff options
-rw-r--r-- | Bugzilla/RelationSet.pm | 2 | ||||
-rw-r--r-- | RelationSet.pm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/RelationSet.pm b/Bugzilla/RelationSet.pm index bfd572400..8668519b9 100644 --- a/Bugzilla/RelationSet.pm +++ b/Bugzilla/RelationSet.pm @@ -248,7 +248,7 @@ sub toArrayOfStrings { push @result, &::DBID_to_name($i); } - return sort(@result); + return sort { lc($a) cmp lc($b) } @result; } # return this set in string form (comma-separated and sorted) diff --git a/RelationSet.pm b/RelationSet.pm index bfd572400..8668519b9 100644 --- a/RelationSet.pm +++ b/RelationSet.pm @@ -248,7 +248,7 @@ sub toArrayOfStrings { push @result, &::DBID_to_name($i); } - return sort(@result); + return sort { lc($a) cmp lc($b) } @result; } # return this set in string form (comma-separated and sorted) |