Sort UPPERCASE files first in Linux
Edit the file /etc/default/locate . Add the line:
LC_COLLATE=C
If you ever want to see the locale variables and their values use the "locale" command.
If you ever want to use a different locale setting for a specific command, you can set the variable directly on the command line:
LC_COLLATE="en_US.UTF-8" some_command args
This won't affect the current command line's args. If you need that functionality, then use a subshell in which the locale variable is exported before the command is run.
So, yeah, I did this and it changed my life.