Linux Mint 20.1
Install dired+ package. Also install DiredSort from here
I try to sort by size.
insert-directory: Listing directory failed but ‘access-file’ worked
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.Sign up to join this community
I think that your problem has nothing to do with Dired+. I think you'll have the same problem if you don't load Dired+.
I can't speak for library
dired-sort.el, which defines the command you're using. It may have a bug. Maybe contact the maintainer.
Emacs-Wiki page DiredSorting lists other libraries that offer sorting possibilities.
You can also just customize your
dired-listing-switches string to include the character
S (uppercase). Or just use
C-u when you invoke Dired, and add
S to the listing switches when prompted for them.