Labels sort order should not be case sensitive
Summary
In the issue search bar after typing 'label:', and also at https://gitlab.com/gitlab-org/gitlab-ce/-/labels, labels appear sorted in a case sensitive fashion, where A-Z are sorted before a-z. This is not intuitive and especially in cases like gitlab.com where there are hundreds of labels, it is not obvious that there are lowercase labels starting with 'a' 14 pages (!) deep. (Summarize the bug encountered concisely)
Steps to reproduce
Open https://gitlab.com/gitlab-org/gitlab-ce/-/labels, look for the label "accessibility"
What is the current bug behavior?
Labels starting with uppercase letters are sorted ahead of lowercase letters
What is the expected correct behavior?
Labels should be sorted in a case insensitive manner, mixing lower and upper case.
Relevant logs and/or screenshots
Screenshot of order as shown in issue search bar
Output of checks
This bug happens on GitLab.com
Results of GitLab environment info
Not known
Results of GitLab application Check
Not known
Possible fixes
presented_labels_sorted_by_title
looks like a likely target. Probably titles should all be converted to lowercase before sorting.
https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/helpers/labels_helper.rb#L212
I don't know if this code is responsible for both the Labels page and the Issues search bar, though.