code: func newArrayTimSorter(arr sort.Interface, maxTempSlots int) *ArrayTimSorter {
  	ans := &ArrayTimSorter{
  		TimSorter: newTimSorter(arr, maxTempSlots),
  		arr:       arr,
  	}
  	if maxTempSlots > 0 {
  		ans.tmp = make([]interface{}, maxTempSlots)
  	}
  	return ans
  }
docs: // Create a new ArrayTimSorter