Bug fixes

This commit is contained in:
2025-10-13 21:28:13 -05:00
parent b00c720f50
commit 6cf2cac9a1
8 changed files with 20 additions and 11 deletions

View File

@@ -19,9 +19,9 @@ function Applications({ contentType }: { contentType: string[] }) {
.sort((a: Application, b: Application) => {
switch (appSort) {
case 'A>Z':
return a.name > b.name ? 1 : -1;
return a.name.toLocaleLowerCase() > b.name.toLocaleLowerCase() ? 1 : -1;
case 'Z>A':
return a.name < b.name ? 1 : -1;
return a.name.toLocaleLowerCase() < b.name.toLocaleLowerCase() ? 1 : -1;
case 'Newest':
if (a.id && b.id) {
return a.id < b.id ? 1 : -1;