Skip to main content
7 of 7
from 362696 - to 362696,381772
bmike
  • 241.3k
  • 80
  • 433
  • 958

macOS Catalina - how to set up Finder to use file sorting logic same as ls command (alphabetical order, not "natural")?

I noticed today that Finder has some strange logic of sorting files by name and I cannot figure out why is that.

Screenshot 1 - folder in "column" view with folder's options opened: enter image description here

Screenshot 2 - same folder in "list" view, sorted by "Name" column: enter image description here

Screenshot 3 - output of ls -al command in terminal, correct and expected file sorting: enter image description here

EDIT: I created a testing folder with integer file names only and the behaviour is the same.

Finder:
enter image description here

Terminal:
enter image description here

How can I change Finder to use the same logic like ls command?

Unfortunately, linked duplicate question doesn't answer my question above, only explains Finder's logic and behaviour in sorting files. What I would like to achieve, as stated in title and the question above, is to force Finder to sort files in alphabetical, not "natural" order.

errata
  • 212
  • 1
  • 3
  • 12