kdb: sort result of getCommands and getPrettyCommands alphabetically
this implements issue
@@ -144,6 +144,7 @@ public:
"View the man page of a tool");
ret.push_back (getStdColor (ANSI_COLOR::BOLD) + "list-tools" + getStdColor (ANSI_COLOR::RESET) + "\t" +
"List all external tools");
+ sort (ret.begin (), ret.end ());
return ret;
}
@@ -157,6 +158,8 @@ public:
}
ret.push_back ("help");
ret.push_back ("list-tools");
+
+ sort (ret.begin (), ret.end ());
return ret;
}
