Badges not sorted in Grant Badge dropdown

When granting a new badge to a user (admin/users/$user/badges), the badges aren’t sorted in any apparent order.

I expected some sort of alphabetical sorting, but that doesn’t appear to be the case. Neither are badges in the same group put together, which is another sorting candidate.

إعجاب واحد (1)

How are they sorted @sam?

nahh, its a bug.

Fixed via

https://github.com/discourse/discourse/pull/3206

إعجابَين (2)