# Prioritize current and default branches in branch list ordering · flambo/t3code

[View on GitCafe](https://git.cafe/flambo/t3code/commit/7408f04bbcaa267e016ee55be219ca4a1f96d8a9)

Repository: [flambo/t3code](https://git.cafe/flambo/t3code)

Visibility: public

Requested revision: 7408f04bbcaa267e016ee55be219ca4a1f96d8a9

Requested commit: 7408f04bbcaa267e016ee55be219ca4a1f96d8a9

Commit: 7408f04bbcaa267e016ee55be219ca4a1f96d8a9

Tree: 6661828401e3dcebac19a50a9d3052dea8806a86

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

- [6dfb9f15983dd132f853f0e176eeaa0dfaaf3929](https://git.cafe/flambo/t3code/commit/6dfb9f15983dd132f853f0e176eeaa0dfaaf3929?format=markdown)

[Source at this commit](https://git.cafe/flambo/t3code/tree/7408f04bbcaa267e016ee55be219ca4a1f96d8a9?format=markdown)
