order courses by name

This commit is contained in:
Jonathan Allen
2024-01-05 12:46:25 -07:00
parent 9354eedb58
commit 4a6265b99b

View File

@@ -25,7 +25,7 @@ public class CourseMarkdownLoader
})
.Select(async d => await LoadCourseByPath(d))
);
return courses;
return courses.OrderBy(c=>c.Settings.Name);
}
public async Task<LocalCourse> LoadCourseByPath(string courseDirectory)