diff --git a/panels/notification/center/notifystagingmodel.cpp b/panels/notification/center/notifystagingmodel.cpp index eb3aba686..52a8381b1 100644 --- a/panels/notification/center/notifystagingmodel.cpp +++ b/panels/notification/center/notifystagingmodel.cpp @@ -162,6 +162,10 @@ void NotifyStagingModel::open() if (entities.size() <= 0) return; + std::sort(entities.begin(), entities.end(), [](const NotifyEntity &item1, const NotifyEntity &item2) { + return item1.cTime() > item2.cTime(); + }); + beginResetModel(); const auto count = std::min(static_cast(entities.size()), BubbleMaxCount);