StrCmp for humans? It's in there!

Sorting it all Out
Michael Kaplan's random stuff of dubious value
Be sure to read the disclaimer here first!

StrCmp for humans? It's in there!

  • Comments 4

Igor Levicki asked in the Suggestion Box:

Any chance to enlighten as whether Windows Explorer in Windows Vista will learn to sort numeric filenames like us humans do?

A.k.a strcmp() for humans 

Regards,
Igor

It's like deja vu all over again!

no need to wait for Vista, since it has been in the Windows Explorer's 'sort by name' functionality since Windows XP!

(more info in What is up with number sorting and What is up with number sorting, redux)

Now there actually were some interesting modifications to the algorithm for Vista that I will post about soon, but in the meantime, StrCmp for humans is a done deal. :-)

 

This post brought to you by . (U+002e, a.k.a. FULL STOP)

Comment on the blather
Leave a Comment
  • Please add 7 and 7 and type the answer here:
  • Post
Blog - Comment List
  • Any chance of a managed version of StrCmpLogicalW?
  • There is not one currently planned, but it is quite a reasonable suggestion to consider....

  • I mentioned yesterday in StrCmp for humans? It's in there! that some change happened in the behavior...
  • In just a few weeks from now, it will have been three years since I first wrote about What is up with

Page 1 of 1 (4 items)