dosubot[bot] commented on issue #35331: URL: https://github.com/apache/superset/issues/35331#issuecomment-3348655890
<!-- Answer --> This is a confirmed regression: in Superset 6.0.0-RC2, select filter components always sorted values alphabetically in the frontend, even when a sort metric was specified, overriding the backend's metric-based sorting. This broke the expected behavior you saw in 4.1.1. The bug was fixed in [pull request #35130](https://github.com/apache/superset/pull/35130) and [pull request #35155](https://github.com/apache/superset/pull/35155), merged in September 2025. With these fixes, when you select a sort metric in the filter config, the frontend preserves the backend's metric-based order, and alphabetical sorting only applies if no metric is set. To resolve this, upgrade to a build that includes these fixes (post-September 18, 2025). Sorting by metric should then work as expected, regardless of your data source (BigQuery or otherwise), since the logic is datasource-agnostic and handled in the frontend/backend communication. Note: Sorting must be configured using the UI controls and the structured format; raw SQL strings for sorting are no longer supported in recent versions. If you need complex sorting, create a calculated column or metric first, then sort by that metric in the filter config. [Details](https://github.com/apache/superset/issues/35279) <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/f89b8895-1442-4b75-af3f-196e6d40cb36?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/f89b8895-1442-4b75-af3f-196e6d40cb36?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/f89b8895-1442-4b75-af3f-196e6d40cb36?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/f89b8895-1442-4b75-af3f-196e6d40cb36?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/f89b8895-1442-4b75-af3f-196e6d40cb36?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/f89b8895-1442-4b75-af3f-196e6d40cb36?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/f89b8895-1442-4b75-af3f-196e6d40cb36?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/35331) -- 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]
