Интерфейс IComparer (или методы IComparable, на основе которых он создан) не вернул ноль, когда метод Array.Sort вызвал x. CompareTo(x). x: X тип x: "Имя типа" Интерфейс IComparer: "Y".
Click to search this error in Google
English version
Unable to sort because the IComparer.Compare() method returns inconsistent results. Either a value does not compare equal to itself, or one value repeatedly compared to another value yields different results. x: 'X', x's type: 'Type Name', IComparer: 'Y'.