diff --git a/Source/Modules/SessionCtl_Delegates.swift b/Source/Modules/SessionCtl_Delegates.swift index 0f1a5f15..6e1f908d 100644 --- a/Source/Modules/SessionCtl_Delegates.swift +++ b/Source/Modules/SessionCtl_Delegates.swift @@ -63,7 +63,7 @@ extension SessionCtl: CtlCandidateDelegate { if value.isEmpty { return "" } // 空字串沒有需要反查的東西。 if value.contains("_") { return "" } guard let lookupResult = LMMgr.currentLM.currentCassette.reverseLookupMap[value] else { return "" } - return lookupResult.joined(separator: " ") + return lookupResult.stableSort(by: { $0.count < $1.count }).joined(separator: " ") } public var selectionKeys: String {