# Prioritize current and default branches in branch list ordering · screen/t3code-personal

[View on GitCafe](https://git.cafe/screen/t3code-personal/commit/21580dc1b0860e5cc711ab2cc494b52e64103d92)

Repository: [screen/t3code-personal](https://git.cafe/screen/t3code-personal)

Visibility: public

Requested revision: 21580dc1b0860e5cc711ab2cc494b52e64103d92

Requested commit: 21580dc1b0860e5cc711ab2cc494b52e64103d92

Commit: 21580dc1b0860e5cc711ab2cc494b52e64103d92

Tree: 5751453d4f6acdf4558a83abed383dc82101ccf4

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Prioritize current and default branches in branch list ordering

- Keep the current branch first
- Place the default branch second
- Sort remaining branches by most recent commit and update tests for this behavior

Co-authored-by: codex <codex@users.noreply.github.com>

```

## Parents

- [ba9585966c948d761054d54ccaaa71a1420bd394](https://git.cafe/screen/t3code-personal/commit/ba9585966c948d761054d54ccaaa71a1420bd394?format=markdown)

[Source at this commit](https://git.cafe/screen/t3code-personal/tree/21580dc1b0860e5cc711ab2cc494b52e64103d92?format=markdown)
