
## CompareTo {#compareto}

Compares this instance to the specified instance of the Filter class and returns an indication of their relative order.

**Returns:** an indication of their relative order.

```cpp
CompareTo(System::SharedPtr< Filter > other)
```

| Parameter | Description |
| --- | --- |
| other | the specified instance of the Filter class to compare to this object. |

