codeant-ai-for-open-source[bot] commented on PR #33140:
URL: https://github.com/apache/superset/pull/33140#issuecomment-4043644048
## **Sequence Diagram**
This PR centralizes display ordering in the folder transformation step so
both metrics and columns are sorted consistently. In the default panel view,
items are now ordered by certification first, then by display name
alphabetically in a case and accent insensitive way.
```mermaid
sequenceDiagram
participant User
participant DatasourcePanel
participant FolderTransformer
participant ExploreUI
User->>DatasourcePanel: Open dataset panel or apply search
DatasourcePanel->>DatasourcePanel: Build filtered metrics and columns
DatasourcePanel->>FolderTransformer: Transform filtered items into
default folders
FolderTransformer->>FolderTransformer: Sort metrics and columns by
certified then display name
FolderTransformer-->>DatasourcePanel: Return sorted Metrics and Columns
folders
DatasourcePanel-->>ExploreUI: Render sorted metric and column lists
```
---
*Generated by [CodeAnt AI](https://codeant.ai)*
--
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]