Hi team๐
I understand that this might be technically difficult given Lightdash's architecture, but Iโd like to share some feature requests regarding chart sorting that we really hope to see!lightdash circle
1. Sorting Stacked Bar Charts by "Total"
Currently, the sort logic applies to individual segments (the grouping column) rather than the whole bar, which results in the X-axis not being ordered by the total height of the stack.
It would be extremely helpful to have an option to sort the X-axis by the Stack Total directly.
(We know we can use Window functions, but we want a more intuitive way for business users.)
2. Sorting by Specific Columns in Pivot Tables
Users often want to sort rows based on a specific dynamic column in a Pivot Table (e.g., "Sort by sales in 2024-01").
It would be great if clicking a specific pivot column header triggered a sort based on that column's value.
We do have workarounds, but I wanted to submit this as a Feature Request since we've received feedback from our internal users, and I also feel these would be valuable improvements.๐