API Referencecorecollectionarrayarray_compareOn this pagearray_comparearray_compare(as, bs, comparator) ⇒ numberKind: global function ParamTypeasArray.<T>bsArray.<T>comparatorfunction