multiset: printer, qtest, and new comparison function