The generic class which helps using IComparable<T>.