I have question about sorting files by ls -l. I read in manual that it divides directories and non-directories and sorts them in lexicographic order separately, but run into situation where ls doesn't follow this rule, here is example:

First files, then directories and then files again
Why it displays like this?