diff --git a/src/group.cpp b/src/group.cpp index 6a5ff4d8f..a75d933a2 100644 --- a/src/group.cpp +++ b/src/group.cpp @@ -145,7 +145,9 @@ GroupWidget *Group::getGroupWidget() QStringList Group::getPeerList() const { - return peers.values(); + QStringList peerNames(peers.values()); + peerNames.sort(Qt::CaseInsensitive); + return peerNames; } void Group::setEventFlag(int f)