diff --git a/aider/commands.py b/aider/commands.py index 43467b216..b21d78aac 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -678,6 +678,7 @@ class Commands: res = list(map(str, matched_files)) return res + sort the filenames before adding them @ai def cmd_add(self, args): "Add files to the chat so aider can edit them or review them in detail"