diff --git a/src/repl.rs b/src/repl.rs index dc83acb..d3e8101 100644 --- a/src/repl.rs +++ b/src/repl.rs @@ -97,7 +97,7 @@ impl<'a> LKEval<'a> { quit = true; } Command::Ls(filter) => self.cmd_ls(&out, filter.to_string(), |a,b| a.borrow().name.cmp(&b.borrow().name)), - Command::Ld(filter) => self.cmd_ls(&out, filter.to_string(), |a,b| b.borrow().date.cmp(&a.borrow().date)), + Command::Ld(filter) => self.cmd_ls(&out, filter.to_string(), |a,b| a.borrow().date.cmp(&b.borrow().date)), Command::Add(name) => self.cmd_add(&out, &name), Command::Leave(name) => self.cmd_leave(&out, &name), Command::Comment(name, comment) => self.cmd_comment(&out, &name, &comment),