aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/SPGotoDatabaseController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPGotoDatabaseController.m b/Source/SPGotoDatabaseController.m
index b4c11a8c..54e4a22f 100644
--- a/Source/SPGotoDatabaseController.m
+++ b/Source/SPGotoDatabaseController.m
@@ -303,7 +303,7 @@ static BOOL StringQualifiesForWordSearch(NSString *s);
NSUInteger mgc2 = [[(SPGotoFilteredItem *)obj2 matches] count];
if(mgc1 < mgc2)
return NSOrderedAscending;
- if(mgc2 > mgc1)
+ if(mgc2 < mgc1)
return NSOrderedDescending;
}
// For strings with the same number of match groups we just sort alphabetically