Skip to content

Commit

Permalink
sort directories in descending order
Browse files Browse the repository at this point in the history
  • Loading branch information
BernardoGiordano committed Jan 21, 2018
1 parent efaf972 commit 901df6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/title.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 901df6e

Please sign in to comment.