Added sorting to the directory browser

This commit is contained in:
casey 2016-06-23 01:59:21 -07:00
parent 469a2596c7
commit 119a369d36

View File

@ -81,6 +81,8 @@ void buildDirectoryList(const path& p, std::vector<std::string>& target)
catch (...) {
/* todo: log maybe? */
}
std::sort(target.begin(), target.end(), std::locale(""));
}
DirectoryAdapter::DirectoryAdapter() {