Ignore case when ordering contacts

cusax-fix
Emil Ivov 20 years ago
parent 37bde966f8
commit b33a2c53dd

@ -215,8 +215,9 @@ public int compareTo(Object o)
return ( (PresenceStatus.MAX_STATUS_VALUE - totalStatus)
- (PresenceStatus.MAX_STATUS_VALUE - target.totalStatus))
* 1000000
+ getDisplayName().compareTo(target.getDisplayName()) * 100000
+ getMetaUID().compareToIgnoreCase(target.getMetaUID());
+ getDisplayName().compareToIgnoreCase(target.getDisplayName())
* 100000
+ getMetaUID().compareTo(target.getMetaUID());
}
/**

Loading…
Cancel
Save