From 901df6e88989f2811e18f8629ce2df80074967b3 Mon Sep 17 00:00:00 2001 From: bernardogiordano Date: Sun, 21 Jan 2018 10:32:55 +0100 Subject: [PATCH] sort directories in descending order --- source/title.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/title.cpp b/source/title.cpp index 6223fc8..9ae5abb 100644 --- a/source/title.cpp +++ b/source/title.cpp @@ -233,7 +233,7 @@ void Title::refreshDirectories(void) } } - std::sort(directories.begin(), directories.end()); + std::sort(directories.rbegin(), directories.rend()); directories.insert(directories.begin(), u8tou16("New...")); } else