diff --git a/src/tangara/app_console/app_console.cpp b/src/tangara/app_console/app_console.cpp index 21dec56a..394a47f2 100644 --- a/src/tangara/app_console/app_console.cpp +++ b/src/tangara/app_console/app_console.cpp @@ -286,9 +286,9 @@ int CmdTasks(int argc, char** argv) { } } - std::sort(info_strings.begin(), info_strings.end(), + std::sort(info_strings.rbegin(), info_strings.rend(), [](const auto& first, const auto& second) { - return first.first >= second.first; + return first.first < second.first; }); std::cout << "name\t\t";