diff --git a/src/components/profile/UserSettings.astro b/src/components/profile/UserSettings.astro index f143c14..b321417 100644 --- a/src/components/profile/UserSettings.astro +++ b/src/components/profile/UserSettings.astro @@ -3,7 +3,8 @@ import allMajors from "../../data/allUCSDMajors.txt?raw"; const majorsList: string[] = allMajors .split("\n") - .filter((major: string) => major.trim()); + .filter((major: string) => major.trim()) + .sort((a, b) => a.localeCompare(b)); // Sort alphabetically ---
- No resume uploaded -
- -- Get notified about upcoming events -
-- Receive our monthly newsletter -
-