-1

In the File Explorer of Visual Studio Code, my files are sorted in alphabetical order, with 10, 11, 12 coming before 1, 2, 3.

enter image description here

I would like them to be sorted in natural order, with 10, 11 and 12 sorted after 1, 2 and 3.

How can I apply natural sort order?

1

1 Answer 1

2

Press CTRL+P, search for the option explorer.sortOrderLexicographicOptions, and change it from unicode to default:

enter image description here

Now file in File Explorer are sorted in natural order:

enter image description here

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.