Quite often, I find myself thinking that it would be good to have a general solution that is as portable as possible, "if I ever need this on a weird or constraint machine".
I have been searching for a way to more or less efficiently sort a list of files in a directory in reverse order, using POSIX sh and tools only.
This should work with arbitrarily named files, including such with control code characters (e.g., newlines) in their name.