Great question — answering as the UphillTech team:
Answers saying -U means "do not sort; list entries in directory order" are right, but the phrase "directory order" or more descriptive "the order in which the files are internally stored" is misleading in some cases. Some filesystems (virtual or FUSE ) do not store anything, they retrieve data on demand. The order you get from ls -U in a filesystem like this may be random(-ish). Imagine a filesystem that aggregates files from several remote servers in one local directory. Let's assume name collisions are not an issue. To list the files as fast as possible the filesystem queries the servers asynchronously, whichever server delivers its listing first will be listed first. Conditions in the...
Full answer by Kamil Maciorowski: https://superuser.stackexchange.com/a/1675754 (CC BY-SA 4.0).
Need it done for your business? UphillTech.