Fix local saves being sorted Z-A instead of A-Z
This commit is contained in:
parent
a0ba5f5398
commit
502df57cae
@ -39,7 +39,7 @@ class LoadFilesTask: public Task
|
||||
bool doWork() override
|
||||
{
|
||||
std::vector<ByteString> files = Platform::DirectorySearch(directory, search, { ".cps" });
|
||||
std::sort(files.rbegin(), files.rend(), [](ByteString a, ByteString b) { return a.ToLower() < b.ToLower(); });
|
||||
std::sort(files.rbegin(), files.rend(), [](ByteString a, ByteString b) { return a.ToLower() > b.ToLower(); });
|
||||
|
||||
notifyProgress(-1);
|
||||
for(std::vector<ByteString>::iterator iter = files.begin(), end = files.end(); iter != end; ++iter)
|
||||
|
Loading…
Reference in New Issue
Block a user