I am a newbie user with a fresh install Ubuntu "Bionic Beaver" (v18.04), who has migrated from Windows 10. I want to make the file sorting order in Ubuntu match that of Windows, because that is how I have organised my (extensive) file archive. I think the answer lies in a post called "How do I force folder view sort order to not ignore special characters?", which says:
If you want collation to be equivalent to strcmp() sort order (i.e. do a >simple comparison of the code point values for the characters in the string), >you can switch to the legacy C locale for collation.
This can be done by editing ~/.profile and adding (or modifying) a line like >the following:
export LC_COLLATE=C
These instructions are too obscure for me to follow and I do not know where to find this ~/.profile, or how to edit it safely.
I hope someone will be able to give me explcit instructions on how to do this that are intelligible to someone of my inexperienced status.