Skip to content

Commit

Permalink
Files ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
buldo committed Dec 14, 2023
1 parent a348228 commit fe2abdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenHdWebUi.Server/Controllers/FilesController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public IEnumerable<ServerFileInfo> Get()
serverFileInfos.Add(serverFile);
}

return serverFileInfos;
return serverFileInfos.OrderByDescending(info => info.FileName, StringComparer.OrdinalIgnoreCase);
}

[HttpDelete("{fileName}")]
Expand Down

0 comments on commit fe2abdd

Please sign in to comment.