diff --git a/src/util/postprocessing.cpp b/src/util/postprocessing.cpp index 070d52b4c..398a79621 100644 --- a/src/util/postprocessing.cpp +++ b/src/util/postprocessing.cpp @@ -205,6 +205,11 @@ std::vector> PostProcessing::GetAvailableSha } } + std::sort(names.begin(), names.end(), + [](const std::pair& lhs, const std::pair& rhs) { + return (lhs.first < lhs.second); + }); + return names; }