orderby make sunday last day c#

C#
var orderedTimeBands = timeBands.OrderBy(x => ((int) x.DayOfWeek + 6) % 7)
                                .ToList()
Source

Also in C#: