From 850818373df4f709d8b482e47812dd58b6bfd2c7 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Tue, 4 Oct 2016 23:47:51 +0800 Subject: [PATCH] Use HUMAN_NAME_ORDER for args file listing --- source/net/filebot/cli/ArgumentBean.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/net/filebot/cli/ArgumentBean.java b/source/net/filebot/cli/ArgumentBean.java index 13588c78..af1c2b8d 100644 --- a/source/net/filebot/cli/ArgumentBean.java +++ b/source/net/filebot/cli/ArgumentBean.java @@ -164,9 +164,9 @@ public class ArgumentBean { if (resolveFolders && file.isDirectory()) { if (recursive) { - files.addAll(listFiles(file, FILES)); + files.addAll(listFiles(file, FILES, HUMAN_NAME_ORDER)); } else { - files.addAll(getChildren(file, FILES)); + files.addAll(getChildren(file, FILES, HUMAN_NAME_ORDER)); } } else { files.add(file);