public void PrintReadersByNumberOfCheckOuts() { Readers.Sort((reader1, reader2) => reader2.NumberOfCheckOuts.CompareTo(reader1.NumberOfCheckOuts)); PrintReadersList(); }
public void PrintReadersBySurname() { Readers.Sort((reader1, reader2) => reader1.Surname.CompareTo(reader2.Surname)); PrintReadersList(); }