diff --git a/html/includes/table/alerts.inc.php b/html/includes/table/alerts.inc.php
index 4efd937540..2730fa6735 100644
--- a/html/includes/table/alerts.inc.php
+++ b/html/includes/table/alerts.inc.php
@@ -103,7 +103,7 @@ if (empty($total)) {
if (!isset($vars['sort']) || empty($vars['sort'])) {
$sort = 'timestamp DESC';
} else {
- $sort = '`alert_rules`.`severity` DESC';
+ $sort = '`alert_rules`.`severity` DESC, timestamp DESC';
}
$sql .= " ORDER BY $sort";