Pivot table can not sort by names of metrics in custom order
Make sure these boxes are checked before submitting your issue - thank you!
- [x] I have checked the superset logs for python stacktraces and included it here as text if any
- [x] I have reproduced the issue with at least the latest released version of superset
- [x] I have checked the issue tracker for the same issue and I haven't found one similar
Superset version
0.20.5

I suppose they are sorted alphabetically. However, the behavior is counterintuitive in my eyes.
Yes,the 'Pivot Table' are sorted alphabetically. But the 'Table View' can sorted in custom order. In our business,some fields are more important,so I want put these fields in front or some fields are more closely related,so I put these together。Table View can do that , but Pivot Table can not 。So I always use 'Table View' as much as possible instead of 'Pivot Table'。So who can help add this feature,very appreciated!
You can consider renaming the metrics when editing the table. For example, we'll use: a. Revenue, b. Costs, c. Profit, for example to force each metric to appear in a certain order.
I had try this way. However, it is not perfect。 If I rename the metrics from 1.X to 5.X 。It seemed OK in the pivot table。But when I want to reuse some of these metrics in other slices, it looks like odd, for example:
Obviously,in the above picture the 1. and 3. is unnecessary in the first diagram。
One of my e-pal also mentioned this problem。Superset is one of the best free software I had use,and I hope it will be better and better。(with the help of google translation, cost 30 min to write these )
+1 Here. producing a pivot table showing for example Leads, Bookings, Conversion, it seems absurd I should have to rename my metrics 1. Leads, 2. Bookings 3. Conversion just to make this work. What if I wanted to make another report from the same data showing Bookings, Repeat Bookings & New Bookings? I'd have to define new metrics for the new order!
Side note: we need to re-write the table and pivot table visulizations to move away from the current "datatables" library and into a React lib, probably react-virtualized to support large result sets.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.