Replace the use of addAttributeSorter and addFieldSorter by addSorter in
PQB