2

Here is my question, I got a listview in which one of the columns I add the name of the files from a certain directory (including the extension) and it can be a number or a string. Lets say i got the following files

11.jpg
1.wav
2.mp3
aas.rar
vzs.zip
1ex.exe

What i am trying to do is sort them just like on windows, Numbers 1st and then the other ones..

1.wav
2.mp3
11.jpg
1ex.exe
aas.rar
vzs.zip

Thanks in advance.

1 Answer 1

3

check

Numeric String Sort in C#

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.