Well
IList<T>
will give you
ICollection<T>
anyway so use that. For
Sort
use
IComparable<T>
as well.
public class MyCollection<T> : IList<T>, IComparable<T>
{
}
or
public class MyObject
{
}
public class MyObjectCollection : IList<MyObject>, IComparable<MyObject>
{
}