Got some deleting things to work.

Got some stuff to work and now need to experiment with
QSqlTableModel.setSort (self, int column, Qt.SortOrder order)