PLT-4914 Sort custom emoji on whole name. (#4768)

This commit is contained in:
George Goldberg
2016-12-12 12:28:30 -03:00
committed by enahum
parent 32842be309
commit e28dea6b11
+1 -1
View File
@@ -94,7 +94,7 @@ class EmojiStore extends EventEmitter {
}
setCustomEmojis(customEmojis) {
customEmojis.sort((a, b) => a.name[0].localeCompare(b.name[0]));
customEmojis.sort((a, b) => a.name.localeCompare(b.name));
this.customEmojis = new Map();