public int Compare(object x, object y) { return (x as RaceGridEntry)?.Car.CompareTo((y as RaceGridEntry)?.Car) ?? 0; } #endregion