private void SortCoordinates(District district) { district.Coordinates = district.Coordinates.OrderBy(c => c.Index).ToList(); }