void sortPointsForSafeMove(QVector<QPoint> *points, const QPoint &offset) { qSort(points->begin(), points->end(), LessOperator(offset)); }
void sortPointsForSafeMove(QModelIndexList *points, const QPoint &offset) { qSort(points->begin(), points->end(), LessOperator(offset)); }