setSortingEnabled(true);
sortByColumn(0, Qt::AscendingOrder);
connect(this, SIGNAL(activated(QModelIndex)), this, SLOT(joinChannel(QModelIndex)));
setSortingEnabled(true);
sortByColumn(0, Qt::AscendingOrder);
connect(this, SIGNAL(activated(QModelIndex)), this, SLOT(joinChannel(QModelIndex)));