yousoph opened a new issue, #26323:
URL: https://github.com/apache/superset/issues/26323

   #### How to reproduce the bug
   1. Create a new Line Chart using the `Vehicle Sales` dataset. 
   2. Set `quarter` as the **X-Axis** and `count(*)` as your metric. 
   3. Click on **CREATE CHART**.
   4. Change the **X-Axis Sort By** configuration.
   
   ### Expected results
   Sorting should be updated properly 
   
   ### Actual results
   Sort on the chart doesn't change and looks like the below with both 
ascending and descending sorting 
   ![image 
(145)](https://github.com/apache/superset/assets/10627051/fdafa652-340b-4e07-9ba2-dd6e290f12f0)
   
   ### Environment
   
   (please complete the following information):
   
   - browser type and version:
   - superset version: `master`
   - python version: `python --version`
   - node.js version: `node -v`
   - any feature flags active:
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [ ] I have checked the superset logs for python stacktraces and included 
it here as text if there are 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.
   
   ### Additional context
   
   CASTing the column to `varchar` will fix the issue, but it's not clear to 
the end user why the sorting wouldn't work without having to do this 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to