M1s4k1

Results 2 issues of M1s4k1

### SUMMARY fix https://github.com/apache/superset/issues/22162 Pandas pivot_table modifies the order of columns. Reorder the table columns to preserve the legend order ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF ![WX20221118-151319](https://user-images.githubusercontent.com/34932975/202653438-d35938b6-4b98-43ee-bf0e-bf96aa9a45a7.png) ![WX20221118-151838](https://user-images.githubusercontent.com/34932975/202653444-4441d973-7229-4c06-802d-e4c76f6fc29c.png) ### TESTING...

size/XS

#### How to reproduce the bug 1. set the query metrics in the line chart 2. as shown here 3. view the Legend ### Expected results preserve query metrics order...

#bug