code: func isTriggerOlder(t1, t2 *internal.Trigger) bool {
  	ts1 := google.TimeFromProto(t1.Created)
  	ts2 := google.TimeFromProto(t2.Created)
  	switch {
  	case ts1.After(ts2):
  		return false
  	case ts2.After(ts1):
  		return true
  	default: // equal timestamps
  		if t1.OrderInBatch != t2.OrderInBatch {
  			return t1.OrderInBatch < t2.OrderInBatch
  		}
  		return t1.Id < t2.Id
  	}
  }
docs: // isTriggerOlder returns true if t1 is older than t2.
  //
  // Compares IDs in case of a tie.