blob: c5918c47257449da898b7fda86162106db8d58d3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#include "compatibility.h"
void strSort(QStringList& collection, Qt::CaseSensitivity cs)
{
std::stable_sort(collection.begin(), collection.end(), [cs](const QString& v1, const QString& v2) -> bool
{
return v1.compare(v2, cs) < 0;
});
}
|