private void RefreshContacts() { //OrderBy //var movies = _database.GetAll(); var contacts = from m in _contactDatabase.GetAll() orderby m.Name select m; _listContacts.Items.Clear(); //Use ToArray extension method from LINQ _listContacts.Items.AddRange(contacts.ToArray()); }