Replace IComparable with IComparable <T>