FearTheCowboy.Extensions.Core by Garrett Serack (@FearTheCowboy)

<PackageReference Include="FearTheCowboy.Extensions.Core" Version="2.0.0-beta-10145" />

 Comparer<T>

public class Comparer<T> : IComparer<T>
A generic implementation of a IComparer that takes a delegate to compare with
public Comparer(Func<T, T, int> compareFn)

Initializes a new instance of the Comparer<T> class.

public int Compare(T x, T y)

Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.