Skip to content

Commit

Permalink
Fix/sorting of majors (#745)
Browse files Browse the repository at this point in the history
* Fix: Sorting Of Majors Alphabetically
  • Loading branch information
ulrichheringer authored Sep 12, 2024
1 parent e746d1c commit 8a85b65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/common/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const majorNameComparator = (a: string, b: string) => {
.replace(/[^A-Z0-9]/gi, "")
.trim()
.toLowerCase();
return trimmedB.localeCompare(trimmedA);
return trimmedA.localeCompare(trimmedB);
};

/**
Expand Down

0 comments on commit 8a85b65

Please sign in to comment.