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

Sort lines (prefix) #127

Open
jkevingutierrez opened this issue Sep 8, 2023 · 1 comment
Open

Sort lines (prefix) #127

jkevingutierrez opened this issue Sep 8, 2023 · 1 comment

Comments

@jkevingutierrez
Copy link

jkevingutierrez commented Sep 8, 2023

Can you add a sorting option or sorting command that could allow to have the line with a prefix at the top of the lines?

Right now, it is always sorted at the end of the lines

For example; the following lines

black-900
black
black-mobile
black-eyebrow

are sorted into

black-900
black-eyebrow
black-mobile
black

It would be great to have an option/command to have it sorted as

black
black-900
black-eyebrow
black-mobile
@alicia-pika
Copy link

+1, I installed this extension hoping it would fix this behavior in VSCode's default but it doesn't. It seems like an incorrect sort for a prefix to come after longer strings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants