[Friends] Fix sorting comparator
This commit is contained in:
parent
7531f468fd
commit
96ebfb7f88
@ -15,7 +15,7 @@ namespace Components
|
||||
{
|
||||
std::sort(list->begin(), list->end(), [](Friends::Friend const& friend1, Friends::Friend const& friend2)
|
||||
{
|
||||
return friend1.cleanName.compare(friend2.cleanName) <= 0;
|
||||
return friend1.cleanName.compare(friend2.cleanName) < 0;
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user