sort local saves alphabetically
This commit is contained in:
parent
e956e7c5fd
commit
68af269b76
@ -1,5 +1,6 @@
|
||||
#include <sstream>
|
||||
#include <iostream>
|
||||
#include <algorithm>
|
||||
#include "FileBrowserActivity.h"
|
||||
#include "gui/interface/Label.h"
|
||||
#include "gui/interface/Textbox.h"
|
||||
@ -58,7 +59,7 @@ class LoadFilesTask: public Task
|
||||
virtual bool doWork()
|
||||
{
|
||||
std::vector<std::string> files = Client::Ref().DirectorySearch(directory, search, ".cps");
|
||||
|
||||
sort(files.rbegin(), files.rend());
|
||||
|
||||
notifyProgress(-1);
|
||||
for(std::vector<std::string>::iterator iter = files.begin(), end = files.end(); iter != end; ++iter)
|
||||
|
Loading…
Reference in New Issue
Block a user