# assistant2: Order agent profiles in the order they are defined in settings \(\#27255\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/0de5c2ed53c324f51fa97d9084e4ba1c6b2e06d7)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 0de5c2ed53c324f51fa97d9084e4ba1c6b2e06d7

Requested commit: 0de5c2ed53c324f51fa97d9084e4ba1c6b2e06d7

Commit: 0de5c2ed53c324f51fa97d9084e4ba1c6b2e06d7

Tree: 4217ce7ffcb07d7ca325276143a124a5693d38ff

Author: Marshall Bowers

Committer: GitHub

## Message

```
assistant2: Order agent profiles in the order they are defined in settings (#27255)

This PR updates the ordering of the agent profiles in the tool selector
to respect the order they are defined in in the settings instead of
sorting them alphabetically.

This gives the user more control, and allows them to order the profiles
as they desire.

Release Notes:

- N/A
```

## Parents

- [6397872c49489006b7a03bfbf88acb1b2331a5c0](https://git.cafe/gitcafe/zed/commit/6397872c49489006b7a03bfbf88acb1b2331a5c0?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/0de5c2ed53c324f51fa97d9084e4ba1c6b2e06d7?format=markdown)
