Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line Sort using F9 - Option to ignore non-alphanumeric characters? #6487

Open
gnat opened this issue Sep 17, 2024 · 0 comments
Open

Line Sort using F9 - Option to ignore non-alphanumeric characters? #6487

gnat opened this issue Sep 17, 2024 · 0 comments

Comments

@gnat
Copy link

gnat commented Sep 17, 2024

Problem description

Really simple sorting example using CSS to illustrate the problem:

border: 1px solid white;
border-left: 1px solid black;
border-right: 1px solid black;

When I press F9 to sort these lines, they un-intuitively sort to:

border-left: 1px solid black;
border-right: 1px solid black;
border: 1px solid white;

We know that TECHNICALLY : is a higher ASCII value than -.

But this breaks the usefulness of sort because border is shorter than border-left and border-right.

Preferred solution

Add an option to ignore non-alphanumeric characters (or specific characters).

Alternatives

N/A

Additional Information

N/A

@gnat gnat changed the title Line Sort using F9 problems - Option to ignore non-alphanumeric characters? Line Sort using F9 - Option to ignore non-alphanumeric characters? Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant