Possible Duplicate:
How to get the sort order in Delphi as in Windows Explorer?
I'm looking for a function that would compare (for file sorting) exactly like Windows Explorer does. Now I'm using CompareText function, but it results in the following:
---------  /\  ---------
 AFile
 BFile
 _XFile
-----------------------
And Windows Explorer sort the same items this way (that's what I want to get):
---------  /\  ---------
 _XFile
 AFile
 BFile
-----------------------
Is there a function for this kind of comparing or should I handle this by my own ?
Thanks!
 
     
    