public int CompareTo(object value)
{
// Get the object as filter info
FilterInfo f = (FilterInfo) value;
// Check if we have a valid object
if (f == null)
{
// No, so different
return 1;
}
// Valid object, compare the names
return (Name.CompareTo(f.Name));
}