summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-18 16:48:36 +0200
committerhut <hut@lavabit.com>2010-04-18 16:48:36 +0200
commit39d74d84932d26168e5e42dd5446e11582d05b12 (patch)
tree6e5c879e63c5c4d91c92fad468006cbb3d46299e
parentf36fa322acdd417590fda8c9acdf3aa836cd017a (diff)
downloadranger-39d74d84932d26168e5e42dd5446e11582d05b12.tar.gz
fsobject.directory: reverse default size sort order
-rw-r--r--ranger/fsobject/directory.py2
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,
 	}