Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(data-pipelines): make Name column sortable on destinations list (#58655)

Steven Shults8984d1de59df
diff --git a/frontend/src/scenes/hog-functions/list/HogFunctionsList.tsx b/frontend/src/scenes/hog-functions/list/HogFunctionsList.tsx
index 2d06ffb9e96a..282de17fb02e 100644
--- a/frontend/src/scenes/hog-functions/list/HogFunctionsList.tsx
+++ b/frontend/src/scenes/hog-functions/list/HogFunctionsList.tsx
@@ -145,7 +145,8 @@ export function HogFunctionList({
{
title: 'Name',
sticky: true,
- sorter: true,
+ sorter: (a, b) =>
+ (a.name ?? '').localeCompare(b.name ?? '', undefined, { sensitivity: 'base', numeric: true }),
key: 'name',
dataIndex: 'name',
render: (_, hogFunction) => {