public void Sent() { var messages = from e in _database.GetMessages() orderby e.ComposeMessage select e; _listMessages.Items.Clear(); _listMessages.Items.AddRange(messages.ToArray()); }