-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Feature request
Is your feature request related to a problem?
When creating an insight with breakdowns, users can change the sort order (e.g., alphabetically, by value) in both table and chart views. However, this sort order is not persisted when the insight is reloaded. This creates inconsistency and requires users to manually re-apply their preferred sort order each time they view the insight.
Describe the solution you'd like
Add the ability to save the sort order of breakdown series within an insight. When a user changes the sort order (alphabetically, by value, ascending/descending), this preference should be:
- Applied consistently across both table and chart views
- Persisted when the insight is saved
- Maintained when the insight is reloaded or viewed later
- This would ensure that breakdown values appear in the same order every time the insight is accessed, improving consistency and usability.
Describe alternatives you've considered
This is related to but distinct from #34853, which focuses on dashboard/project-level color consistency. This request specifically addresses saving sort order preferences at the individual insight level.
Additional context
From: https://posthoghelp.zendesk.com/agent/tickets/46009
Debug info
Kind: bug
Target area: analytics
Report event: http://go/ticketByUUID/430d62dd-79b0-4e12-b59f-ba8fd74bcdbf
Session: https://us.posthog.com/project/sTMFPsFhdP1Ssg/replay/019b6aaf-b9f0-7448-b1be-3778ae9431bf?t=3739
Exceptions: https://us.posthog.com/project/2/error_tracking?filterGroup=%7B%22type%22%3A%22AND%22%2C%22values%22%3A%5B%7B%22type%22%3A%22AND%22%2C%22values%22%3A%5B%7B%22key%22%3A%22%24session_id%22%2C%22value%22%3A%5B%22019b6aaf-b9f0-7448-b1be-3778ae9431bf%22%5D%2C%22operator%22%3A%22exact%22%2C%22type%22%3A%22event%22%7D%5D%7D%5D%7D
Location: https://us.posthog.com/project/125499/dashboard/951445
Persons-on-events mode for project: person_id_override_properties_on_events