Sort user list case insensitive.

This commit is contained in:
LevelX2 2014-01-26 11:26:45 +01:00
parent a5c0ae1b41
commit 43fed81ff4
3 changed files with 3 additions and 1 deletions

View file

@ -206,6 +206,6 @@ class TimestampSorter implements Comparator<Table> {
class UserNameSorter implements Comparator<UsersView> {
@Override
public int compare(UsersView one, UsersView two) {
return one.getUserName().compareTo(two.getUserName());
return one.getUserName().compareToIgnoreCase(two.getUserName());
}
}