Skip to content

Save file dialog: sort file types alphabetically - #114487

Merged
Benjamin Pasero (bpasero) merged 3 commits into
microsoft:masterfrom
sangxxh:fix/114264-save-dialog-sort-file-type-alphabetically
Jan 18, 2021
Merged

Benjamin Pasero (bpasero) merged 3 commits into
microsoft:masterfrom
sangxxh:fix/114264-save-dialog-sort-file-type-alphabetically

Conversation

@sangxxh

Copy link
Copy Markdown
Contributor

This PR fixes #114264

How to Test

Create a new file and click File > Save or Save As..., then check order of file types.

Result

Before

before

After

after

@bpasero Benjamin Pasero (bpasero) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use the strings#compareIgnoreCase utility we have for this purpose?

@sangxxh

Sang (sangxxh) commented Jan 18, 2021 •

Copy link
Copy Markdown
Contributor Author

Thanks for pointing out. Updated the refactor.

@bpasero

Copy link
Copy Markdown
Contributor

Thanks

@bpasero
Benjamin Pasero (bpasero) merged commit 407557c into microsoft:master Jan 18, 2021
@sangxxh
Sang (sangxxh) deleted the fix/114264-save-dialog-sort-file-type-alphabetically branch January 18, 2021 19:46
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Save As Type dialog is not sorted alphabetically

2 participants