diff --git a/public/index.html b/public/index.html
index e741d93..1073797 100644
--- a/public/index.html
+++ b/public/index.html
@@ -84,7 +84,7 @@
-
+
diff --git a/public/packets.js b/public/packets.js
index 78ce248..4b9fedd 100644
--- a/public/packets.js
+++ b/public/packets.js
@@ -280,6 +280,7 @@
// Update expanded children if this group is expanded
if (expandedHashes.has(h) && existing._children) {
existing._children.unshift(p);
+ sortGroupChildren(existing);
}
} else {
// New group
@@ -366,6 +367,7 @@
try {
const childData = await api(`/packets?hash=${hash}&limit=20`);
group._children = childData.packets || [];
+ sortGroupChildren(group);
} catch {}
} else {
// Group no longer in results — remove from expanded