Issue #59 Inner Class defines compareTo(...) and uses Object.equals()