public class Person { public string Name {get; set;} public DateTime Created { get; set; } } public class MyData { public List
I belive you would want to use groupBy so you can have the results by date :
var query = Persons.OrderByDescending(c => c.Created).GroupBy(n=> n.Created.ToShortDateString()); foreach (var d in query) { Console.WriteLine(d.Key); foreach (var names in d) Console.WriteLine(names.name); }