Added len and sorted_set.