Use a lambda function instead of a class.
This way the memberto use only one QCollator is not copied and initialized several times. only once.
This requires a workaround for https://bugreports.qt.io/browse/QTBUG-69361
Just a single comparison to force the clean state of QCollator.