Replacing in ResultSet::applySorting() extracted to ResultSet::clearSorting()