order (according to the return values of their <=> methods) when iterating over them. Every element in SortedSet must be mutually comparable to every other: comparison with <=> must not return nil for any pair of elements. Otherwise ArgumentError will be raised. ruby-sorted_set is functionality spun out from the Set included with Ruby in 3.x feedback and ok jeremy@