mirror of
https://github.com/bspeice/UNCCGameDay
synced 2025-07-01 05:46:33 -04:00
just added .toLowerCase() for more accurate ordering of attendees
This commit is contained in:
@ -62,8 +62,8 @@ public class Search extends MenuActivity {
|
||||
Collections.sort(rsvpList, new Comparator<Attendee>() {
|
||||
@Override
|
||||
public int compare(Attendee a1, Attendee a2) {
|
||||
String compareName = a1.getLastName();
|
||||
String thisName = a2.getLastName();
|
||||
String compareName = a1.getLastName().toLowerCase();
|
||||
String thisName = a2.getLastName().toLowerCase;
|
||||
return compareName.compareTo(thisName);
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user