From ebc5356a9f3d3d238e8878194aec381fdb199282 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Wed, 13 Jun 2018 11:05:53 -0400 Subject: [PATCH] Respond to CR. --- SignalMessaging/utils/ConversationSearcher.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SignalMessaging/utils/ConversationSearcher.swift b/SignalMessaging/utils/ConversationSearcher.swift index d7115335d..e13156c72 100644 --- a/SignalMessaging/utils/ConversationSearcher.swift +++ b/SignalMessaging/utils/ConversationSearcher.swift @@ -138,10 +138,10 @@ public class ConversationSearcher: NSObject { // Order the conversation and message results in reverse chronological order. // The contact results are pre-sorted by display name. - conversations = conversations.sorted(by: >) - messages = messages.sorted(by: >) + conversations.sort(by: >) + messages.sort(by: >) // Order "other" contact results by display name. - otherContacts = otherContacts.sorted() + otherContacts.sort() return SearchResultSet(searchText: searchText, conversations: conversations, contacts: otherContacts, messages: messages) }