code: func (slice byTimestamp) Less(i, j int) bool {
  	iTimestamp, jTimestamp := int64(0), int64(0)
  	if slice != nil && slice[i].inputLogEvent.Timestamp != nil {
  		iTimestamp = *slice[i].inputLogEvent.Timestamp
  	}
  	if slice != nil && slice[j].inputLogEvent.Timestamp != nil {
  		jTimestamp = *slice[j].inputLogEvent.Timestamp
  	}
  	if iTimestamp == jTimestamp {
  		return slice[i].insertOrder < slice[j].insertOrder
  	}
  	return iTimestamp < jTimestamp
  }
docs: // Less compares two values in a byTimestamp slice by Timestamp.  Less is
  // required by the sort.Interface interface.