Skip to content

Commit 08c5766

Browse files
committed
fix: switch order of modification time sorter
1 parent 19075f4 commit 08c5766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/nvim-tree/explorer/sorters.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function M.node_comparator_modification_time(a, b)
109109
last_modified_b = b.fs_stat.mtime.sec
110110
end
111111

112-
return last_modified_a <= last_modified_b
112+
return last_modified_b <= last_modified_a
113113
end
114114

115115
function M.setup(opts)

0 commit comments

Comments
 (0)