Changeset 9 for Trunk/AILogSizeSort.m

Show
Ignore:
Timestamp:
09/29/08 10:26:23 (16 years ago)
Author:
jon
Message:

Switched to case-insensitive display-name comparison in the event of a log size tie (which most frequently happens at 0).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Trunk/AILogSizeSort.m

    r8 r9  
    9292} 
    9393 
     94/*! 
     95 * Allow users to manually sort groups. 
     96 */ 
     97-(BOOL)canSortManually 
     98{ 
     99        return YES; 
     100} 
     101 
    94102/** 
    95103 * Returns the total aggregate log size for a contact.  For meta-contacts, the 
     
    174182        if([sizeB compare:sizeA] == NSOrderedSame) 
    175183        { 
    176                 return [[objectA displayName] compare:[objectB displayName]]; 
     184                return [[objectA displayName] caseInsensitiveCompare:[objectB displayName]]; 
    177185        } 
    178186        else