Files
Oliver Drobnik ce58c2a1b8 Implement SORT command in IMAP
Related to #11

Implement the `SORT` command to allow clients to search and sort messages on the server.

* **SearchCommand.swift**
  - Update `SearchCommand` to accept sort criteria as an optional parameter.
  - Modify `toTaggedCommand` method to handle sort criteria.

* **IMAPServer.swift**
  - Add sort criteria parameter to the existing `search` function.
  - Add capability check for `SORT` before executing `SearchCommand`.
  - Implement fallback to `SEARCH` if `SORT` is not supported.

* **SearchHandler.swift**
  - Update `SearchHandler` to handle responses for both `SEARCH` and `SORT` commands.
  - Modify error handling to include `SORT` command failures.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Cocoanetics/SwiftMail/issues/11?shareId=XXXX-XXXX-XXXX-XXXX).
2025-03-12 15:05:30 +01:00
..
2025-03-12 15:05:30 +01:00
2025-03-12 15:05:30 +01:00
2025-03-05 21:54:02 +01:00