mirror of
https://github.com/bspeice/UNCCGameDay
synced 2024-12-04 13:58:11 -05:00
just added .toLowerCase() for more accurate ordering of attendees
This commit is contained in:
parent
83abdf4fd0
commit
85d33578a7
@ -63,7 +63,7 @@ public class Search extends MenuActivity {
|
|||||||
@Override
|
@Override
|
||||||
public int compare(Attendee a1, Attendee a2) {
|
public int compare(Attendee a1, Attendee a2) {
|
||||||
String compareName = a1.getLastName().toLowerCase();
|
String compareName = a1.getLastName().toLowerCase();
|
||||||
String thisName = a2.getLastName().toLowerCase;
|
String thisName = a2.getLastName().toLowerCase();
|
||||||
return compareName.compareTo(thisName);
|
return compareName.compareTo(thisName);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user