Skip to content

Conversation

@yaira2
Copy link
Member

@yaira2 yaira2 commented Apr 8, 2025

Resolved / Related Issues

To prevent extra work, all changes to the Files codebase must link to an approved issue marked as Ready to build. Please insert the issue number following the hashtag with the issue number that this Pull Request resolves.

Steps used to test these changes

Stability is a top priority for Files and all changes are required to go through testing before being merged into the repo. Please include a list of steps that you used to test this PR.

  1. Confirmed sorting is no longer case sensitive

@yaira2 yaira2 requested a review from 0x5bfa April 8, 2025 20:28
@yaira2 yaira2 added the ready for review Pull requests that are ready for review label Apr 8, 2025
@yaira2 yaira2 requested a review from Copilot April 8, 2025 20:29
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

public static IComparer<object> GetForProcessor()
{
return new NaturalComparer(StringComparison.CurrentCulture);
return new NaturalComparer(StringComparison.CurrentCultureIgnoreCase);
Copy link
Member

Choose a reason for hiding this comment

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

Btw this is instantiated every time SortingHelper.OrderFileList is called. We prob should create a static field for this (if null, for the first time, create an instance).

Copy link
Member Author

Choose a reason for hiding this comment

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

Can you please start an issue so we can track that?

@yaira2 yaira2 added ready to merge Pull requests that are approved and ready to merge and removed ready for review Pull requests that are ready for review labels Apr 9, 2025
@yaira2 yaira2 merged commit e505ace into main Apr 9, 2025
8 checks passed
@yaira2 yaira2 deleted the ya/Sorting branch April 9, 2025 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready to merge Pull requests that are approved and ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Name sorting is case sensitive

3 participants