If you have strings like:
\"file_0\" \"file_1\" \"file_2\" \"file_3\" \"file_4\" \"file_5\" \"file_6\" \"file_11\"
how can you sort them so
You could import the StrCmpLogicalW function and use that to sort the strings. This is the very same function that Explorer itself uses for file names.
Won't help you if you don't want P/Invoke or stay compatible on other systems, though.