diff --git a/dispatch/dispatch.go b/dispatch/dispatch.go index d863de4b93..316f8082a8 100644 --- a/dispatch/dispatch.go +++ b/dispatch/dispatch.go @@ -438,7 +438,7 @@ func (ag *aggrGroup) flush(notify func(...*types.Alert) bool) { } if key_i != key_j { - return key_i > key_j + return key_i < key_j } }