allow for totals to be conditionally excluded from sorting?