Found out that CompareString (what is ansi, what is unicode) orders, containing AND or X, is peculiar. In this case, you can watch it simply in Explorer, creating files and sorting them. Example: “Yemen” falls before “Jordan”, while “my” before “mine” (but if you change “Jordan” to “Jardania”, it jumps to). I tried to remember whether there are any special rules for organizing words with these two letters and could not remember (and also find them on the network). My expectations that the "nd" should be after "and" always, but here is something incomprehensible.
Bug or not bug?