Find the supremum of a sorted multiset