listPeople = listPeople.OrderBy(x => x.Surname).ToList();Removing items from a list:
listPeople.RemoveAll(x => x.Age < 16);
C#, .Net, MVC, jQuery, JavaScript, HTML, CSS, Umbraco, Phonegap / Cordova, Xamarin, iPhone, iOS, Swift, Android, Windows, apps, websites, Full Stack, ecommerce, Facebook, responsive, front-end. Freelance developer, programmer for web and mobile in Bristol, UK.
listPeople = listPeople.OrderBy(x => x.Surname).ToList();Removing items from a list:
listPeople.RemoveAll(x => x.Age < 16);