diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/App/BorgRestore.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/App/BorgRestore.pm b/lib/App/BorgRestore.pm index a7bb37b..cf64859 100644 --- a/lib/App/BorgRestore.pm +++ b/lib/App/BorgRestore.pm @@ -115,7 +115,7 @@ sub find_archives { printf "\e[0;91mWarning:\e[0m Path '%s' not found in any archive.\n", $path; } - @ret = sort { $a->{modification_time} cmp $b->{modification_time} } @ret; + @ret = sort { $a->{modification_time} <=> $b->{modification_time} } @ret; return \@ret; } |