I have a List where T is my Event type which has a field time of type long. This list is populated from
List
T
Event
time
long
You could use LINQ:
resp.OrderBy(i => i.time == 0 ? int.MaxValue : i.time);