diff --git a/emoji/src/commonMain/kotlin/com/vanniktech/emoji/search/SearchEmojiManager.kt b/emoji/src/commonMain/kotlin/com/vanniktech/emoji/search/SearchEmojiManager.kt index a2d0f47937..2250a16674 100644 --- a/emoji/src/commonMain/kotlin/com/vanniktech/emoji/search/SearchEmojiManager.kt +++ b/emoji/src/commonMain/kotlin/com/vanniktech/emoji/search/SearchEmojiManager.kt @@ -39,6 +39,7 @@ class SearchEmojiManager : SearchEmoji { } }.firstOrNull() } + .sortedWith(compareBy({ it.range.first }, { it.shortcode })) else -> emptyList() } }