OlympeClassesComparatorVersion: NextOn this pageabstractComparator @deprecatedHierarchyComparatorNumberStringDateTimeIndex ConstructorsconstructorMethodscreateConstructors constructornew Comparator(): ComparatorReturns ComparatorMethods staticcreatecreate(comparator: (object1: Sync, object2: Sync) => Observable<number>): ComparatorParameterscomparator: (object1: Sync, object2: Sync) => Observable<number>Returns Comparator