StrCmp for humans? It's in there!

by Michael S. Kaplan, published on 2006/09/30 13:59 -04:00, original URI: http://blogs.msdn.com/b/michkap/archive/2006/09/30/778345.aspx


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)


# RubenP on 30 Sep 2006 4:29 PM:

Any chance of a managed version of StrCmpLogicalW?

# Michael S. Kaplan on 30 Sep 2006 5:15 PM:

There is not one currently planned, but it is quite a reasonable suggestion to consider....

Please consider a donation to keep this archive running, maintained and free of advertising.
Donate €20 or more to receive an offline copy of the whole archive including all images.

referenced by

2007/12/22 Incomplete Scenarios: They don't know everything that's up with number sorting

2006/10/01 Logical StrCmpLogicalW changes in Vista

go to newer or older post, or back to index or month or day