diff options
-rw-r--r-- | ranger/fsobject/directory.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/fsobject/directory.py b/ranger/fsobject/directory.py index af8ab232..1319ad21 100644 --- a/ranger/fsobject/directory.py +++ b/ranger/fsobject/directory.py @@ -62,7 +62,7 @@ class Directory(FileSystemObject, Accumulator, SettingsAware): sort_dict = { 'basename': sort_by_basename, - 'size': lambda path: path.size, + 'size': lambda path: -path.size, 'mtime': lambda path: -(path.stat and path.stat.st_mtime or 1), 'type': lambda path: path.mimetype, } |