diff options
Diffstat (limited to 'routers/repo/view.go')
-rw-r--r-- | routers/repo/view.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/view.go b/routers/repo/view.go index 991d2c0400..d794a57405 100644 --- a/routers/repo/view.go +++ b/routers/repo/view.go @@ -47,7 +47,7 @@ func renderDirectory(ctx *context.Context, treeLink string) { ctx.Handle(500, "ListEntries", err) return } - entries.Sort() + entries.CustomSort(base.NaturalSortLess) ctx.Data["Files"], err = entries.GetCommitsInfo(ctx.Repo.Commit, ctx.Repo.TreePath) if err != nil { |