Details
Description
While using ObjectConverter in the GeoAPI filter implementation, the need of a method to find a comparable class between different object is being a necessity.
A method similar to:
Class<? extends Comparable> getComparableClass(Class<?> ... candidates)
This method would explore the conversion possibilities of each class and return a potential comparable class where all candidates classes can be converted to.

Added a findCommonTarget method which can be used as below: