diff --git a/src/containers/Connections/index.tsx b/src/containers/Connections/index.tsx index 6ed3f79..71cda8e 100644 --- a/src/containers/Connections/index.tsx +++ b/src/containers/Connections/index.tsx @@ -126,7 +126,7 @@ export default function Connections() { ), [connections]) const devices = useMemo(() => { const gb = groupBy(connections, 'metadata.sourceIP') - return Object.keys(gb).map(key => ({ label: key, number: gb[key].length })) + return Object.keys(gb).map(key => ({ label: key, number: gb[key].length })).sort((a, b) => a.label.localeCompare(b.label)) }, [connections]) // table