[Friends] Fix sorting comparator

This commit is contained in:
momo5502 2017-06-08 17:55:27 +02:00
parent 7531f468fd
commit 96ebfb7f88

View File

@ -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;
});
}