diff --git a/src/quickpicks/branchesAndTagsQuickPick.ts b/src/quickpicks/branchesAndTagsQuickPick.ts index e9407b5..debbc95 100644 --- a/src/quickpicks/branchesAndTagsQuickPick.ts +++ b/src/quickpicks/branchesAndTagsQuickPick.ts @@ -267,7 +267,8 @@ export class BranchesAndTagsQuickPick { branches.sort( (a, b) => - (b.remote ? -1 : 1) - (a.remote ? -1 : 1) || + (a.starred ? -1 : 1) - (b.starred ? -1 : 1) || + (b.remote ? -1 : 1) - (a.remote ? -1 : 1) || a.name.localeCompare(b.name, undefined, { numeric: true, sensitivity: 'base' }) ); for (const b of branches) {