code: func (s *set) Sorted() Array {
  	cpy := make(Array, len(s.keys))
  	for i := range cpy {
  		cpy[i] = s.keys[i]
  	}
  	sort.Sort(termSlice(cpy))
  	return cpy
  }
docs: // Sorted returns an Array that contains the sorted elements of s.