From e0ffb8502cad4a5a18ca3dfa23603312446e9446 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Wed, 3 Jul 2024 15:34:23 -0700 Subject: [PATCH] sort by name by default --- internal/tables/tables.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/tables/tables.go b/internal/tables/tables.go index 929fff9..1ca8669 100644 --- a/internal/tables/tables.go +++ b/internal/tables/tables.go @@ -99,7 +99,7 @@ func newModel(fs []files.File, width, height int, readonly, preselected bool, wo m.table = createTable(columns, rows, theight, m.readonlyOnePage()) - m.sorting = sorting.Size + m.sorting = sorting.Name m.sort() return m