From 620b15ae9bec4003fe8047ec99595ac47d2fa3bc Mon Sep 17 00:00:00 2001 From: Klaus Ethgen Date: Fri, 4 Mar 2016 11:44:47 +0100 Subject: [PATCH] Applying that sort method also to collections --- src/collect.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/collect.c b/src/collect.c index e3c01571..0a76b710 100644 --- a/src/collect.c +++ b/src/collect.c @@ -141,6 +141,11 @@ static gint collection_list_sort_cb(gconstpointer a, gconstpointer b) if (cia->fd->date > cib->fd->date) return 1; return 0; break; + case SORT_CTIME: + if (cia->fd->cdate < cib->fd->cdate) return -1; + if (cia->fd->cdate > cib->fd->cdate) return 1; + return 0; + break; case SORT_PATH: return utf8_compare(cia->fd->path, cib->fd->path, options->file_sort.case_sensitive); break; -- 2.20.1