connect to sort signal instead of click
avoid emitting sort signals unnecessarily
QT automatically handles columns that are out of range