diff --git a/ConferenceService.cs b/ConferenceService.cs index 1bef3bc..49a4286 100644 --- a/ConferenceService.cs +++ b/ConferenceService.cs @@ -18,7 +18,7 @@ public ConferenceService(SwetuggContext context, IMemoryCache cache) public Conference? Get(string slug) => ReadThroughCache($"conference-{slug.ToLower()}", () => _context.Conferences .AsSplitQuery() - .Include(c => c.Rooms) + .Include(c => c.Rooms.OrderBy(c => c.Priority)) .Include(c => c.Sessions.Where(s => s.Published)) .ThenInclude(c => c.Speakers.Where(s => s.Published)) .ThenInclude(s => s.SpeakerImages)